Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 4
Default Nested IF function (simple)

Can anyone tell me why I am getting errors? https://i.imgur.com/vRhe5Vz.png

Tried another forum and nobody could figure it out, although I think it's fairly simple. I'm sort of new to Excel and I think the syntax in the formula bar is slightly off.

If the shipping is $17.47 in column L, I simply want it to "ADD" $50 to column G. (Look at the formula). I figured out how to add $35, but adding another "IF" for 50 isn't working.

THANKS!

Last edited by TeKouma : June 29th 18 at 07:20 AM
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Nested IF function (simple)

Hi,

Am Fri, 29 Jun 2018 07:01:15 +0100 schrieb TeKouma:

Can anyone tell me why I am getting errors?
https://i.imgur.com/vRhe5Vz.png


try:
=E2+IF(L2=12.72,35,IF(L2=17.74,50,0))


Regards
Claus B.
--
Windows10
Office 2016
  #3   Report Post  
Junior Member
 
Posts: 4
Default

You cannot put e2+if.
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Nested IF function (simple)

Hi,

Am Fri, 29 Jun 2018 17:33:29 +0100 schrieb TeKouma:

You cannot put e2+if.


you didn't test it!


Regards
Claus B.
--
Windows10
Office 2016
  #5   Report Post  
Junior Member
 
Posts: 4
Default

Cannot put "=e2+if("....

I have.... =IF(L2=12.72,E2+35,IF(L2=17.47,E2+50)

Anyone?


  #6   Report Post  
Junior Member
 
Posts: 4
Default

Quote:
Originally Posted by Claus Busch View Post
Hi,

Am Fri, 29 Jun 2018 17:33:29 +0100 schrieb TeKouma:

You cannot put e2+if.


you didn't test it!


Regards
Claus B.
--
Windows10
Office 2016

Yah, you can't do that. Here's what it looks like with that https://i.imgur.com/oSD6WfS.png Your suggestion seems logical as well though.

Last edited by TeKouma : June 29th 18 at 07:19 PM
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,872
Default Nested IF function (simple)

Hi,

Am Fri, 29 Jun 2018 19:05:25 +0100 schrieb TeKouma:

Yah, you can't do that. Here's what it looks like with that
https://i.imgur.com/oSD6WfS.png Your suggestion seems logical as well
though.


my formula is tested and it is working. If it doesn't work in your
workbook, your values are text. It seems that they have leading oder
trailing spaces.
If you can't get it to work, send your workbook to
claus_busch(at)t-online.de


Regards
Claus B.
--
Windows10
Office 2016
  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Nested IF function (simple)

The error may caused by cell format.
If I can see the workbook file, I may find out what's wrong actually.

"TeKouma" дÈëÏûÏ¢
...

Cannot put "=e2+if("....

I have.... =IF(L2=12.72,E2+35,IF(L2=17.47,E2+50)

Anyone?




--
TeKouma



  #9   Report Post  
Junior Member
 
Posts: 19
Default

Quote:
Originally Posted by TeKouma View Post
Can anyone tell me why I am getting errors? https://i.imgur.com/vRhe5Vz.png

Tried another forum and nobody could figure it out, although I think it's fairly simple. I'm sort of new to Excel and I think the syntax in the formula bar is slightly off.

If the shipping is $17.47 in column L, I simply want it to "ADD" $50 to column G. (Look at the formula). I figured out how to add $35, but adding another "IF" for 50 isn't working.

THANKS!
First you missed thew close Paren at end )
this works fine
=IF(L2=12.72,E2+35,IF(L2=17.47,E2+50))

I agee you must have a Text in there somewhere.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple nested if and statement GW Excel Worksheet Functions 2 January 23rd 14 07:39 PM
Simple question?? Nested ifs on one line laavista Excel Programming 5 October 19th 09 02:19 AM
Simple nested if statement mike_vr Excel Discussion (Misc queries) 1 September 29th 08 03:35 PM
simple nested loop question fedude Excel Programming 8 March 2nd 08 05:04 PM
Simple problem, simple formula, no FUNCTION ! Ron@Buy Excel Worksheet Functions 6 September 28th 07 04:51 PM


All times are GMT +1. The time now is 04:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"