Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need help writing a formula that will list the values of B3:B53 for which
A3:A53 is equal to a specifiic value. A3:A53 are set up with dropdown menus to select from a list of values (in this case locations) and I need to have a cell which lists the values in B for each item in the list. Is there a way to do this without creating a mile long if statement? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This is easily accomplished by creating a simple 2 column datalist in an
out-of-the-way location, with the locations in the first column and the pertinent values in the next column. Say you enter the locations in Y1 to Y25, And the accompanying data in Z1 to Z25. Then try something like this in B3: =Vlookup(A3,Y$1:Z$25,2,0) And copy down as needed. If you're annoyed by the #N/A errors when Column A may be empty, you can try this formula: =If(ISNA(Match(A3,Y$1:Y$25,0)),"",Vlookup(A3,Y$1:Z $25,2,0)) -- HTH, RD ---------------------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! ---------------------------------------------------------------------------------------- "Debbiejj" wrote in message ... I need help writing a formula that will list the values of B3:B53 for which A3:A53 is equal to a specifiic value. A3:A53 are set up with dropdown menus to select from a list of values (in this case locations) and I need to have a cell which lists the values in B for each item in the list. Is there a way to do this without creating a mile long if statement? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you very much. This will do it.
"RAGdyer" wrote: This is easily accomplished by creating a simple 2 column datalist in an out-of-the-way location, with the locations in the first column and the pertinent values in the next column. Say you enter the locations in Y1 to Y25, And the accompanying data in Z1 to Z25. Then try something like this in B3: =Vlookup(A3,Y$1:Z$25,2,0) And copy down as needed. If you're annoyed by the #N/A errors when Column A may be empty, you can try this formula: =If(ISNA(Match(A3,Y$1:Y$25,0)),"",Vlookup(A3,Y$1:Z $25,2,0)) -- HTH, RD ---------------------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! ---------------------------------------------------------------------------------------- "Debbiejj" wrote in message ... I need help writing a formula that will list the values of B3:B53 for which A3:A53 is equal to a specifiic value. A3:A53 are set up with dropdown menus to select from a list of values (in this case locations) and I need to have a cell which lists the values in B for each item in the list. Is there a way to do this without creating a mile long if statement? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Appreciate the feed-back.
-- Regards, RD ---------------------------------------------------------------------------------- Please keep all correspondence within the Group, so all may benefit ! ---------------------------------------------------------------------------------- "Debbiejj" wrote in message ... Thank you very much. This will do it. "RAGdyer" wrote: This is easily accomplished by creating a simple 2 column datalist in an out-of-the-way location, with the locations in the first column and the pertinent values in the next column. Say you enter the locations in Y1 to Y25, And the accompanying data in Z1 to Z25. Then try something like this in B3: =Vlookup(A3,Y$1:Z$25,2,0) And copy down as needed. If you're annoyed by the #N/A errors when Column A may be empty, you can try this formula: =If(ISNA(Match(A3,Y$1:Y$25,0)),"",Vlookup(A3,Y$1:Z $25,2,0)) -- HTH, RD ---------------------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! ---------------------------------------------------------------------------------------- "Debbiejj" wrote in message ... I need help writing a formula that will list the values of B3:B53 for which A3:A53 is equal to a specifiic value. A3:A53 are set up with dropdown menus to select from a list of values (in this case locations) and I need to have a cell which lists the values in B for each item in the list. Is there a way to do this without creating a mile long if statement? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
datavalidation conditional list | Excel Discussion (Misc queries) | |||
Conditional List | Excel Discussion (Misc queries) | |||
Conditional Drop Down List | Excel Discussion (Misc queries) | |||
Making pick list conditional on selection from previous pick list | Excel Discussion (Misc queries) | |||
How do i set up conditional drop-down list | New Users to Excel |