combining two formula

paulsolar

Well-known Member
Joined
Aug 21, 2013
Messages
644
Hi All

I'm trying to make a formula dynamic but not having much success

What I'm trying to do is count how many unique entries there are in a column (text and numbers)

I'm using: ="Installers Using App " & SUM(IF(FREQUENCY(MATCH(G2:G194,G2:G194,0),MATCH(G2:G194,G2:G194,0))>0,1)) and this is working fine, but I need to make the G194 expand as the entries are added.

I've been trying to use =ROW(OFFSET(G1,COUNTA(G:G)-1,0)) in another cell to get it up update the first formula without any luck.

There must be an easier way of doing this but I'm struggling

Is there an easier way?

cheers

Paul
 

Some videos you may like

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

jim may

Well-known Member
Joined
Jul 4, 2004
Messages
7,483
Create A Dynamic RangeName, like "MyRange" (Without the Quotes)

Menu, Formulas, Define Range,

enter name: MyRange

in the Refers to box (at the bottom) enter:

=OFFSET(Sheet1!$G$2,0,0,COUNTA(Sheet1!$G:$G),1) 'Substitute Your Sheet Name for Sheet1 used here...

Change your Formula accordingly to:

="Installers Using App " & SUM(IF(FREQUENCY(MATCH(MyRange,MyRange,0),MATCH(MyRange,MyRange,0))>0,1))

As your G:G range Increases or Decreases the Range "MyRange" will automatically change for you.

Good Luck,

Jim
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,123,316
Messages
5,600,910
Members
414,415
Latest member
joshuaba

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