IF Function

Joeytomatoe

New Member
Joined
Jan 10, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
I'm lost and in need of help! I'm trying to create an IF function dependant on 2 options. I can get the Y to work but not the N.
1704939500455.png


Basically I need the formula to look in column D11 if it says Y then return the sum of F11 plus G3 or if D11 says N I need it to return the value of F11

I can't seem to get it to work.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
I'm lost and in need of help! I'm trying to create an IF function dependant on 2 options. I can get the Y to work but not the N.
View attachment 104770

Basically I need the formula to look in column D11 if it says Y then return the sum of F11 plus G3 or if D11 says N I need it to return the value of F11

I can't seem to get it to work.
your formula is syntax error:
Excel Formula:
=IF(D11="Y",F11+$G$3,IF(D11="N",F11,""))
 
Upvote 0
Solution
I'm lost and in need of help! I'm trying to create an IF function dependant on 2 options. I can get the Y to work but not the N.
View attachment 104770

Basically I need the formula to look in column D11 if it says Y then return the sum of F11 plus G3 or if D11 says N I need it to return the value of F11

I can't seem to get it to work.
If the values are just Y or N, then you can just use F11 as your FALSE, see the IF logic below

1704945819453.png
 
Upvote 0

Forum statistics

Threads
1,215,095
Messages
6,123,072
Members
449,093
Latest member
ripvw

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