Indirect Formula

alibbye17

New Member
Joined
May 19, 2010
Messages
40
Good Morning All,

Im using the following indirect formula within my spreadsheet:

=IF(SUM(INDIRECT($D66&"!ad22")=0),"-",SUM(INDIRECT($D66&"!ad22")))

Instead of having a value been shown as 0, I have the formula setup to show "-" (this is easier on the eyes). However, i just realized that anytime the value is below 0 the formula still show "-". This isnt correct and I cant seem to figure why. Can anyone help out....
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Have you applied a custom number format? If so, what format did you use?
 
Upvote 0
Good Morning All,

Im using the following indirect formula within my spreadsheet:



Instead of having a value been shown as 0, I have the formula setup to show "-" (this is easier on the eyes). However, i just realized that anytime the value is below 0 the formula still show "-". This isnt correct and I cant seem to figure why. Can anyone help out....
Why not just invoke:

=SUM(INDIRECT($D66&"!ad22"))

and custom format the formula cell, say, as:

[=0]"-";General
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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