multiple if's question

k3rnunn05

New Member
Joined
Oct 17, 2008
Messages
2
im trying to make a formula that will do this :confused:

if i put in the name "joe snuffy" it returns 220
if i put in the name "gilligan snuffy" it returns 350
if the cell is blank it returns 0
if any other name is put in the cell it returns 40
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Welcome to the board...

make a table on your sheet somwhere with your list of names and their respective values.
For example
column F = Names
column G = Respective Values

Then you can use this formula...where A1 is the cell you're testing..

=IF(A1="",0,IF(ISNUMBER(MATCH(A1,F:F,0)),VLOOKUP(A1,F:G,2,FALSE),40))
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,312
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top