Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In one section of my form there are 2 columns: A and B. Cell range B1:B7
contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Leslie,
Try this in C1 =VLOOKUP("x",A1:B7,2,FALSE) If you have more than 1 x in column A it will rturn the first. Mike "Leslie" wrote: In one section of my form there are 2 columns: A and B. Cell range B1:B7 contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
To get rid of the error with no x in column A
Mike "Leslie" wrote: In one section of my form there are 2 columns: A and B. Cell range B1:B7 contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The formula would be helpful <g
=IF(ISNA(VLOOKUP("x",A1:B7,2,FALSE)),"Nothing Selected",VLOOKUP("x",A1:B7,2,FALSE)) "Mike H" wrote: To get rid of the error with no x in column A Mike "Leslie" wrote: In one section of my form there are 2 columns: A and B. Cell range B1:B7 contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Mike - Thank you for responding. I have entered the formula you recommend.
Using your formula, I am able to get "Nothing Selected" to display, but I'm not able to get a numerical value from B1:B7 to display in cell C1 "Mike H" wrote: The formula would be helpful <g =IF(ISNA(VLOOKUP("x",A1:B7,2,FALSE)),"Nothing Selected",VLOOKUP("x",A1:B7,2,FALSE)) "Mike H" wrote: To get rid of the error with no x in column A Mike "Leslie" wrote: In one section of my form there are 2 columns: A and B. Cell range B1:B7 contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Most odd, it works perfectly for me are you sure you pasted the formula
exacly as written? You should get 'Nothing selected' if you don't have an x in A1 to A7 What appears in C1 when you put an x in one of the A cells? Mike "Leslie" wrote: Mike - Thank you for responding. I have entered the formula you recommend. Using your formula, I am able to get "Nothing Selected" to display, but I'm not able to get a numerical value from B1:B7 to display in cell C1 "Mike H" wrote: The formula would be helpful <g =IF(ISNA(VLOOKUP("x",A1:B7,2,FALSE)),"Nothing Selected",VLOOKUP("x",A1:B7,2,FALSE)) "Mike H" wrote: To get rid of the error with no x in column A Mike "Leslie" wrote: In one section of my form there are 2 columns: A and B. Cell range B1:B7 contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I took your advise and repeated the steps. I carefully pasted in the formula
and "Nothing Selected" does display when there is no "x" in cells A1:A7, but nothing appears in the C1 cell when I type an "x" in one of the A1:A7 cells. C1 changes to completely blank. I wonder if this fact is worth mentioning: the cells in column A and B are actually merged cells, for example A1 is merged cells A1:D1, and B1 cell is merged cells E1:H1. Would this change the composition of the formula? Thanks for your patience, Mike. Would it be helpful for you to see a copy of my form firsthand? "Mike H" wrote: Most odd, it works perfectly for me are you sure you pasted the formula exacly as written? You should get 'Nothing selected' if you don't have an x in A1 to A7 What appears in C1 when you put an x in one of the A cells? Mike "Leslie" wrote: Mike - Thank you for responding. I have entered the formula you recommend. Using your formula, I am able to get "Nothing Selected" to display, but I'm not able to get a numerical value from B1:B7 to display in cell C1 "Mike H" wrote: The formula would be helpful <g =IF(ISNA(VLOOKUP("x",A1:B7,2,FALSE)),"Nothing Selected",VLOOKUP("x",A1:B7,2,FALSE)) "Mike H" wrote: To get rid of the error with no x in column A Mike "Leslie" wrote: In one section of my form there are 2 columns: A and B. Cell range B1:B7 contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Mike - Thank you for responding. I have entered the formula you recommend.
Using your formula, I am able to get "Nothing Selected" to display, but I'm not able to get a numerical value from B1:B7 to display in cell C1 "Mike H" wrote: The formula would be helpful <g =IF(ISNA(VLOOKUP("x",A1:B7,2,FALSE)),"Nothing Selected",VLOOKUP("x",A1:B7,2,FALSE)) "Mike H" wrote: To get rid of the error with no x in column A Mike "Leslie" wrote: In one section of my form there are 2 columns: A and B. Cell range B1:B7 contains a series of different numerical values associated with the corresponding cells in cell range A1:A7. Form users will choose the value they want from column B by typing an "x" in the corresponding cell in column A. For example: from the 7 numerical values in column B, the form user may select the value in cell B4 by typing an "x" in cell A4. The value from B4 needs to display in cell C1. So, I need your help to write a formula that tells cell C1 to look at cell range A1:A7 and if any cell in that range contains an "x", to display the contents of the corresponding cell (from cell range B1:B7) in cell C1. Would someone please help me write a formula to accomplish this? Please and Thank you for your assistance! Leslie |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|