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 Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Marcelo Branco

MrExcel MVP
Joined
Aug 23, 2010
Messages
16,687
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
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.
 

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

New Member
Joined
Mar 22, 2019
Messages
11
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.
 

Forum statistics

Threads
1,137,154
Messages
5,679,914
Members
419,862
Latest member
Bluewings666

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
Top