Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi i have a spreadsheet with multiple workbooks.
on one workbook data is entered using lists. (the data for the Lists is on a workbook called "lists") when data is selected from the list i need the row above to display a value based on the list choice. eg if i select "chc" from the list, then the cell above displays "06:00:14:30" if "CW" was selected from the drop down list then the cell above displays "06:00 to 14:00" this data is on a workbook called "Times" CHC 06:00 to 14:30 8 CW 06:00 to 14:00 6 the formula i am using is =IF(ISERROR(MATCH(C8,Times!$A$2:$A$21,0)),"",LOOKU P(C8,Times!$B$2:$B$21)) this seems to select the first time range only and does not seem to reference all the data, or update if you change the list choice. i have tried changing the sort of the "lookup" range but that does not seem to help hope someone can help. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try the below instead
=IF(ISERROR(MATCH(C8,Times!$A$2:$A$21,0)),"", VLOOKUP(C8,Times!$A$2:$B$21,2,0)) If this post helps click Yes --------------- Jacob Skaria "David Ryan" wrote: Hi i have a spreadsheet with multiple workbooks. on one workbook data is entered using lists. (the data for the Lists is on a workbook called "lists") when data is selected from the list i need the row above to display a value based on the list choice. eg if i select "chc" from the list, then the cell above displays "06:00:14:30" if "CW" was selected from the drop down list then the cell above displays "06:00 to 14:00" this data is on a workbook called "Times" CHC 06:00 to 14:30 8 CW 06:00 to 14:00 6 the formula i am using is =IF(ISERROR(MATCH(C8,Times!$A$2:$A$21,0)),"",LOOKU P(C8,Times!$B$2:$B$21)) this seems to select the first time range only and does not seem to reference all the data, or update if you change the list choice. i have tried changing the sort of the "lookup" range but that does not seem to help hope someone can help. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi Jacob worked a treat. Thanks
"Jacob Skaria" wrote: Try the below instead =IF(ISERROR(MATCH(C8,Times!$A$2:$A$21,0)),"", VLOOKUP(C8,Times!$A$2:$B$21,2,0)) If this post helps click Yes --------------- Jacob Skaria "David Ryan" wrote: Hi i have a spreadsheet with multiple workbooks. on one workbook data is entered using lists. (the data for the Lists is on a workbook called "lists") when data is selected from the list i need the row above to display a value based on the list choice. eg if i select "chc" from the list, then the cell above displays "06:00:14:30" if "CW" was selected from the drop down list then the cell above displays "06:00 to 14:00" this data is on a workbook called "Times" CHC 06:00 to 14:30 8 CW 06:00 to 14:00 6 the formula i am using is =IF(ISERROR(MATCH(C8,Times!$A$2:$A$21,0)),"",LOOKU P(C8,Times!$B$2:$B$21)) this seems to select the first time range only and does not seem to reference all the data, or update if you change the list choice. i have tried changing the sort of the "lookup" range but that does not seem to help hope someone can help. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
i wish to lookup values in column A, & add adjacent values in colu | Excel Discussion (Misc queries) | |||
lookup single value in one sheet, return multiple results from theother sheet | Excel Worksheet Functions | |||
copy values generated by conditional formula in one sheet to the other work sheet as values | Excel Worksheet Functions | |||
copy values generated by conditional formula in one sheet to the other work sheet as values | Excel Discussion (Misc queries) | |||
Lookup values in multipul sheets and show value in another sheet | Excel Worksheet Functions |