multi IF

blackisblack

New Member
Joined
Sep 14, 2003
Messages
4
Hi People, can you help :biggrin:

I want to do a formula that will look at one colum and on its finding (txt based) then enter a finding (number based) in another colum. I can do it for one finding but not two.

ie =IF(A1=D1,E1,0)
A1 = Holiday
E1 = 7.5

but say if it says Half day in a1 it would put 3.75 in

sorry if this does not make sence

Andy
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Brian from Maui

MrExcel MVP
Joined
Feb 16, 2002
Messages
8,459
blackisblack said:
Hi People, can you help :biggrin:

I want to do a formula that will look at one colum and on its finding (txt based) then enter a finding (number based) in another colum. I can do it for one finding but not two.

ie =IF(A1=D1,E1,0)
A1 = Holiday
E1 = 7.5

but say if it says Half day in a1 it would put 3.75 in

sorry if this does not make sence

Andy

=IF(A1=D1,E1,IF(A1=F1,G1,""))

F1= Half day
G1 = 3.75
 

DRJ

MrExcel MVP
Joined
Feb 17, 2002
Messages
3,853
Try this. Put it is cell E1

If(A1="Holiday",7.5,if(A1="Half Day",3.75,false))

Change false to whatever you want the value to be if it is not holiday or half day.

Hope this helps

Jacob
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,322
Messages
5,769,446
Members
425,546
Latest member
DisMissive

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
Top