Hi Team,
I have a spreadsheet where the names of driver stowing and unstowing trains needs to be entered into a cell. 1 driver name per cell. For neatness I have requested that all supervisors entering the names use the following format...SURNAME, 1st Name. That is the surname of the driver is entered 1st in uppercase, then thier 1st name in proper text.
I can use data validation with the following formula set as custom =OR(EXACT(D229,$D$5:$D$208)) which works fine for all respective data validated cells, D229 being the first cell to have a name entered and $D$5:$D$208 being the location of the names list.
To make things easier for my colleagues, I have placed the list as part of the spreadsheet so that the auto fill function works when the first few characters of the names are entered either in upper, lower or proper case, the auto fill detects this, highlights and fills the remainder of the cell based on it's best guess. No problem there.
I tested this by deliberately using lower case entries. The spreadsheet highlights it's best guess from the list exactly as listed. Enter to accept. The cell then changes to upper cases and lower cases per the list and all is good. The formula works correctly. Save spreadsheet.
Issue:
Except...when the spreadsheet is reopened by myself or another colleague, the data validation seems to have disappeared. Clicking on any of the data validated cells (D209 for example) I note that the "Apply these changes to all other cells with the same settings" is unticked. Reticking this highlights the other validation cells appropriately and the formula works again. Save spreadsheet and close. reopen spreadsheet and repeat issue.
Trouble shooting:
Searching for a solution through various forums, I note that there were compatibility issues with excel saving .xls and .xlsx and .xlsm files. This spreadsheet was designed a few weeks ago using excel 2013. It has no macros running. The only other issue that was possibly raised was the spreadsheet not liking frozen cells. Freezing or unfreezing the cells is not making any difference.
Work arounds:
I would prefer to use formulas as opposed to macros. I cannot use a vlookup because this involves helper cells and I cannot use helper cells or I would have done so already. In my travels for alternitaves (because initially I thought that excel did not like the custom data validation formula) I came across the following... =(AND(EXACT(C5, UPPER(C5)),ISTEXT)). This I placed a into one of the data validation cells after wiping all of the previous data validation. I then entered Bloggs, Joe into the cell and was rewarded with BLOGGS, JOE. Is there any way to modify, add to, concentate, adjust etc. the formula so that I have the cell automatically change it to BLOGGS, Joe irrespective of whatever whacky combination of characters is input?
Any assistance would be greatly appreciated.
Attached is a short version of the spreadsheet.
Thank you.
I have a spreadsheet where the names of driver stowing and unstowing trains needs to be entered into a cell. 1 driver name per cell. For neatness I have requested that all supervisors entering the names use the following format...SURNAME, 1st Name. That is the surname of the driver is entered 1st in uppercase, then thier 1st name in proper text.
I can use data validation with the following formula set as custom =OR(EXACT(D229,$D$5:$D$208)) which works fine for all respective data validated cells, D229 being the first cell to have a name entered and $D$5:$D$208 being the location of the names list.
To make things easier for my colleagues, I have placed the list as part of the spreadsheet so that the auto fill function works when the first few characters of the names are entered either in upper, lower or proper case, the auto fill detects this, highlights and fills the remainder of the cell based on it's best guess. No problem there.
I tested this by deliberately using lower case entries. The spreadsheet highlights it's best guess from the list exactly as listed. Enter to accept. The cell then changes to upper cases and lower cases per the list and all is good. The formula works correctly. Save spreadsheet.
Issue:
Except...when the spreadsheet is reopened by myself or another colleague, the data validation seems to have disappeared. Clicking on any of the data validated cells (D209 for example) I note that the "Apply these changes to all other cells with the same settings" is unticked. Reticking this highlights the other validation cells appropriately and the formula works again. Save spreadsheet and close. reopen spreadsheet and repeat issue.
Trouble shooting:
Searching for a solution through various forums, I note that there were compatibility issues with excel saving .xls and .xlsx and .xlsm files. This spreadsheet was designed a few weeks ago using excel 2013. It has no macros running. The only other issue that was possibly raised was the spreadsheet not liking frozen cells. Freezing or unfreezing the cells is not making any difference.
Work arounds:
I would prefer to use formulas as opposed to macros. I cannot use a vlookup because this involves helper cells and I cannot use helper cells or I would have done so already. In my travels for alternitaves (because initially I thought that excel did not like the custom data validation formula) I came across the following... =(AND(EXACT(C5, UPPER(C5)),ISTEXT)). This I placed a into one of the data validation cells after wiping all of the previous data validation. I then entered Bloggs, Joe into the cell and was rewarded with BLOGGS, JOE. Is there any way to modify, add to, concentate, adjust etc. the formula so that I have the cell automatically change it to BLOGGS, Joe irrespective of whatever whacky combination of characters is input?
Any assistance would be greatly appreciated.
Attached is a short version of the spreadsheet.
Thank you.