if and countif problem

plettieri

Well-known Member
Joined
Sep 4, 2002
Messages
1,594
Platform
  1. MacOS
All

the formula builder shows "-" which is a different result than which appears in the cell A5. The result in cell A5 displays 0, the result needed in "-"

=IF(A5>0,COUNTIF(all_borders,A5),"-")


....am I missing something here?

Thanks for looking.

plettieri
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
If the formula is in A5 then you have a circular reference, which is why you get 0.
Try putting the formula in a different cell.
 
Upvote 0
Solution
Ya, I see it now...I must have been still sleeping when I drafted this...Thanks
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,221,618
Messages
6,160,866
Members
451,674
Latest member
TJPsmt

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