stuck with value error

klsservices

New Member
Joined
Jun 4, 2010
Messages
5
Hi
I have been going around in circles for a few weeks, not been doing much excel work for a few months and boy I got rusty quick!!:eeek:

I am having problems with this formula:
=IF(COUNTBLANK(U53)=1,"",((U$3-T$3)*(U53+U65+U77)))
it works great when the spreadsheet is blank, but now that the data is entered, on some columns it is not working because U53 is not blank, but U65 and/or U77 is blank.
If 1 or 2 of the others are blank I still need the formula to work out a total and not give a value error...

I have got totally confused so Hope someone can help

thanks in advance
:confused:
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Your formula looks fine to me, I have tried it out and the only time I can get it to return a #VALUE! is if U3, T3, U53, U65 or U77 is a NON-NUMERICAL character.

Have you got an example set of data where you end up with #VALUE! ?

i.e Tell us what is in each of these cells when you are getting an error

U3 =
T3 =
U53 =
U65 =
U 77 =
 
Upvote 0
Use SUM(U53,U65,U77) instead of (U53+U65+U77).
DOH!:oops:I knew it would be something simple!!
that fixed it...
the cells contain formulas that add up feed rations and stock numbers,

BIG THANKS I can now stop tearing my hair out and got drink that glass of wine which is sat waiting:biggrin:
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,248
Members
452,900
Latest member
LisaGo

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