Formula Range referencing another formula

|||||||E|||||||

New Member
Joined
Mar 22, 2019
Messages
11
Hi Everyone,

I'm trying to replace these bolded numbers...

=SUMPRODUCT(1/COUNTIF('Monthly Bills Rec''d'!F2:F5000,'Monthly Bills Rec''d'!F2:F5000))

With the COUNTA result from this formula...

COUNTA('Monthly Bills Rec''d'!A:A)

Any help on how to do this would be greatly appreciated.

Thanks.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
You can replace F5000 with
INDEX('Monthly Bills Rec''d'!F:F,COUNTA('Monthly Bills Rec''d'!A:A))

Could you tell us what you're trying to do? To count unique values there is a more efficient formula.

M.
 
Upvote 0
Thank you! That seems to be working.

Yes, I'm trying to find unique values in that worksheet column. I found a few other methods, but the SUMPRODUCT(1/COUNTIF...method was the only one I could get to work.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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