Adding to or adjusting a formula

bionicle

Board Regular
Joined
Apr 23, 2009
Messages
186
Office Version
  1. 365
Platform
  1. Windows
Hi All,
Need some help please, I have the following formula thatworks as it should so no problem there however I’m trying to amend it or add a secondformula to the front of it so that the formula returns a value of zero based onspecific text in the cell C2 (house).
The working formula as it is will return a value based onthe calculation of cell V32 which can range from 500 to 100,000
=IF(($V32+$W32+SUMPRODUCT($Z$21:$AF$21,$Z32:$AF32))< data!$o$13,0,(($v32+$w32+sumproduct($z$21:$af$21,$z32:$af32))-data!$o$13)*data!$o$16)
Any help would be fab.

Steve
 
Last edited by a moderator:

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Is that your actual formula?
Looks odd to me.

Does it contain < > characters?
The forum often displays posts with < > characters incorrectly.
To get round this places spaces around the < > characters.
 
Upvote 0
formula is correct and calculates correctly. I want to add something like =IF(AND(C32="House"),"0")

when I add this to the formula I don't get the correct value out
=IF(AND(C32="house"),"0",0)&IF(($V32+$W32+SUMPRODUCT($Z$21:$AF$21,$Z32:$AF32))< data!$o$13,0,(($v32+$w32+sumproduct($z$21:$af$21,$z32:$af32))-data!$o$13)*data!$o$16)

When I add the word house to cell c32 it should return a 0any other value should return a the exact figure that I have prior to addingthe additional formula but nothing works for me.
 
Last edited by a moderator:
Upvote 0
Try
=IF(C32="house",0,IF(($V32+$W32+SUMPRODUCT($Z$21:$AF$21,$Z32:$AF32))< data!$o$13,0,(($v32+$w32+sumproduct($z$21:$af$21,$z32:$af32))-data!$o$13)*data!$o$16))

Also please note what Special-K99 said about putting spaces around the < & > signs in formulae.
I have corrected both your posts.
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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