#1   Report Post  
Dave O.
 
Posts: n/a
Default excel formulas

In J5 I have the following formula
=IF((D6<"")*(E6<""),LOOKUP(E6,{3,3.15,3.25,3.35, 3.45,3.55,3.65,3.75},{0.38,0.43,0.46,0.49,0.52,0.5 6,0.59,0.62})*D6-H6,"")
This is based on selling product "A" in B5.
If we sell product "B,C,D,E etc." I would like to add to the formula
E5-2.35*D5 to J5.
Thanks in advance for your help!!!
  #2   Report Post  
bj
 
Posts: n/a
Default

if I am reading your statement correctly
=IF((D6<"")*(E6<""),LOOKUP(E6,{3,3.15,3.25,3.35, 3.45,3.55,3.65,3.75},{0.38,0.43,0.46,0.49,0.52,0.5 6,0.59,0.62})*D6-H6
+ if(or(B5="B",B5="C",B5="D",b5="E"),E5-2.35*D5,""),"")

would do it.

I am not comfortable I know what you want


"Dave O." wrote:

In J5 I have the following formula
=IF((D6<"")*(E6<""),LOOKUP(E6,{3,3.15,3.25,3.35, 3.45,3.55,3.65,3.75},{0.38,0.43,0.46,0.49,0.52,0.5 6,0.59,0.62})*D6-H6,"")
This is based on selling product "A" in B5.
If we sell product "B,C,D,E etc." I would like to add to the formula
E5-2.35*D5 to J5.
Thanks in advance for your help!!!

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
I want Excel to allow cells with formulas and unrelated text blueboy Excel Discussion (Misc queries) 9 March 4th 05 12:22 AM
Suddenly cannot calculate functions or formulas in Excel Leon Hairie Excel Worksheet Functions 1 March 1st 05 04:26 PM
How do I save a copy of an excel file without the formulas? Saving Excel File without Formula Excel Worksheet Functions 1 February 14th 05 08:55 PM
IF/AND formulas within excel mark.ew Excel Discussion (Misc queries) 5 January 4th 05 07:12 PM
Problems with Excel formulas when 2002 upgraded to XP Kathi McGraw Excel Worksheet Functions 0 November 16th 04 05:27 PM


All times are GMT +1. The time now is 05:27 AM.

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"