# multi IF

#### blackisblack

##### New Member
Hi People, can you help

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.

##### MrExcel MVP
=IF(A1="Half",3.75,IF(A1="Holiday",7.5,""))

#### Brian from Maui

##### MrExcel MVP
blackisblack said:
Hi People, can you help

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
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

Replies
0
Views
291
Replies
3
Views
516
Replies
0
Views
496
Replies
4
Views
259
Replies
4
Views
683

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.

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.

### Which adblocker are you using?

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

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