IF statement problem

pearl11

New Member
Joined
Dec 16, 2010
Messages
30
I am trying to create a excel formula where
if D1 is Y then A1=0
if DI is N then take info from F1

so the total equation not including the if statement above would be:
A1+B1+C1+N=
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
If you are using as non-English version of Excel


=IF(D1="Y";0,IF(D1="N";F1;""))
 
Upvote 0
vog, i went back and did the formula you suggested in a simple document and it works exactly as I asked.

i must be doing something wrong in my much bigger spreadsheet and will try to figure out what I am not doing right.

thanks for the answer and fast reply

hotpepper thanks for your input. if for some reason I can't get vog's formula to work in my overly complicated spreadsheet I'll try your formula
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,214
Members
453,024
Latest member
Wingit77

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