Formula Format - Driving Me Nuts

andreRM

New Member
Joined
Oct 4, 2006
Messages
3
I keep getting Value Error. Probably a simple thing for one of you, but it is a monster for me.

=SUM(2524+E5-D5)


Many thanks in advance.

André
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
In this formula

=SUM(2524+E5-D5)

the SUM function is redundant

this will give the same value

=2524+E5-D5

If this gives you an error then either E5 or D5 is probably text. If they are supposed to be empty then ensure they are and don't contain any spaces or other characters.

If E5 and/or D5 might contain text or numbers and you want to use the numbers when present but ignore text then try

=SUM(2524,E5)-SUM(D5)

or

=2524+N(E5)-N(D5)
 
Upvote 0
Bingo!

You were both right on. I had dashes in one of the columns to represent a filled cell. I changed those dashes to a zero and the formula liked it just fine.

Huge thanks to Barry and Poorwallace. I will sleep well tonight.

Andre.
 
Upvote 0

Forum statistics

Threads
1,214,830
Messages
6,121,834
Members
449,051
Latest member
excelquestion515

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