IF formula or alternative

PurrSent

Board Regular
Joined
Jun 7, 2014
Messages
136
I have a spreadsheet in which the total of the values entered along the row are displayed in column 'E'

Gift Aid is marked 'Y' or 'N' in column 'F', with the amount entered into column 'G' if 'Y' or 'F' if 'N', ie depending on whether the person can Gift Aid, or not.

If possible, I would like the value in 'E' to be displayed in the relevant cell with regard to their Gift Aid status, ie 'G' or 'F'

I've made an attempt at this but I'm stabbing in the dark, really.

My train of thought is: =IF ... F3="Y", then display 'Gross' value in 'G3', otherwise display value in 'F'

Maybe someone can help me out here, please? I'd be very grateful.

Here is a 'mock' section of the spreadsheet, to help with my explanation (below)

Many thanks for any help.

Example-Sheet-1.jpg
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Re: Help with 'IF' forumla, or alternative, needed, pls

Try

G3
=IF(F3="Y",E3,"")

H3
=IF(F3="N",E3,"")

M.
 
Upvote 0
Re: Help with 'IF' forumla, or alternative, needed, pls

Marcelo Branco

Thank you very much.
This works well
I very much appreciate your help :)
J
 
Upvote 0
Re: Help with 'IF' forumla, or alternative, needed, pls

You are welcome. Glad to help.

M.
 
Upvote 0
Re: Help with 'IF' forumla, or alternative, needed, pls

You certainly have helped, Marcelo
Much appreciated :)
J
 
Upvote 0

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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