What is the maximum number of entries in any one index set?
Ian Bell
ASKER
40
Subodh Tiwari (Neeraj)
And how many rows of data in there?
After copying the formula down the rows, you can copy the formula range and paste it back as values so that the formulas don't recalculate every time.
Or you can use VBA to place the formula.
In the attached, place the data from your original file in the column A and B starting from Row2 and click the button called "Place Formula" and see if it works faster than manually placing the formula. identical-values-within-range.xlsm
Here is a formula using the indirect condition.
In fact the rows and columns are correct so a matter of inserting your new formula.
DC and DD are the F & G columns I referred to in my example.
JR being the Index column
Hi guys,
I was trying out Rob's simple solution and worked well and calculated in less than a couple of minutes, which is fast
for this 160,000 row spreadsheet
I will work with this one for now but will also run the other formulas and will claim them all as a solution if that is permissible.
Thank You Rob, Saqib and Neeraj
Ian
Rob Henson
Thanks Ian, glad it worked well.
Saqib Husain
Are you sure that is is Rob's solution which is fastest?
I am leaving for home. I am going to send a file showing comparisons. You can then see the difference.
Ian Bell
ASKER
Thanks Saqib very kind of you..
Ian Bell
ASKER
Saqib,
I have found an alternative method to arrive at the conclusion without the use of
this formula. I'm understanding more and more about this monster of a spreadsheet
Apologies for inconvenience.
Ian
I finally got onto your formula having been away from here yesterday.
I tried your end col formula and it certainly was fast as only took a few
seconds to calculate. I'm off for a long walk and when I get back will
check out your other formula.
Thanks again Saqib your effort was certainly worthwhile from my point of view
Ian
Ian Bell
ASKER
Just back from my usual 2 hour Friday walk with my neighbour and tested your formula in G column.
Both work perfectly and came up with identical results and both calculated at a fast speed of a few seconds for 170k rows.
Thanks a million Saqib.
Ian
=--(SUMPRODUCT(--(A2:A15=A