Nested if function

markswan111

New Member
Joined
Sep 16, 2016
Messages
15
[h=2]hello guys, I am trying to use to nested if function for two logical tests, but it won't work on excel 2007 no matter what I try, it says invalid formula...[/h]

=IF(E2="mark",m7*.01, IF(E2="james",m7*.01 , "nothing "))

any one can help?​
 

Some videos you may like

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

live_excel

New Member
Joined
Nov 23, 2016
Messages
42
Your formula is right.Don't know why it's not working.Please attached an image.
 

FDibbins

Well-known Member
Joined
Feb 16, 2013
Messages
6,723
Looks right to me...
=if(e2="mark",m7*.01, if(e2="james",m7*.01,"nothing"))
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,122,517
Messages
5,596,620
Members
414,081
Latest member
Subaru_Steve

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