Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Need a function to make a cell equal certain numeric values if another cell
has certain text...any solutions? Example: If cell A1 equals Tom then this cell should equal the value in cell D1, if Greg this cell should equal the value in cell D2...ect. I would like to be able to enter 12 critera all causing the cell to equal the values in 12 other cells. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
With that many aoptions buils a table like this Col c Col d Tom 123 Pete 456 Me 789 You 112 Him 345 Us 457 Them 9876 The this form,ula in your cell looking at a1 =VLOOKUP(A1,C1:D7,2,FALSE) It will look for the value in A1 in the table and return the value in Column D Mike "MLee" wrote: Need a function to make a cell equal certain numeric values if another cell has certain text...any solutions? Example: If cell A1 equals Tom then this cell should equal the value in cell D1, if Greg this cell should equal the value in cell D2...ect. I would like to be able to enter 12 critera all causing the cell to equal the values in 12 other cells. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Using a VLOOKUP sounds like what you need.
First, build an alphabetic table that includes all the possibilities F G 1 Al 105 2 Bob 612 3 Carl 884 .... Then, write the following formula where you want the answer displayed: =VLOOKUP(B3,F1:G12,2) [Which translates to Lookup B3 in the table that is in F1 to G12, and pick the answer in the second column] On Jan 17, 3:54 pm, MLee wrote: Need a function to make a cell equal certain numeric values if another cell has certain text...any solutions? Example: If cell A1 equals Tom then this cell should equal the value in cell D1, if Greg this cell should equal the value in cell D2...ect. I would like to be able to enter 12 critera all causing the cell to equal the values in 12 other cells. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
can I make cell "yes" equal 1, "no" equal 0 | Excel Discussion (Misc queries) | |||
How to point to (select) a cell to the left from a cell where I enter the = equal sign? | Excel Discussion (Misc queries) | |||
sort data rows "greater than or equal" criteria in another cell | Excel Worksheet Functions | |||
Addition to Turn cell red if today is greater or equal to date in cell | New Users to Excel | |||
Turn cell red if today is greater or equal to date in cell | New Users to Excel |