dmax?

is there a way to do this for excel? (somekind of dmax for column3?)

col1       col2         col3

abc         a            abc-a-1

abc         a            abc-a-2

abc         b            abc-b-1

abc         a            abc-a-3

abc         b            abc-b-2

def         a            def-a-1

...

May 21st, 2015 6:10am

In D1:

=A1&"-"&B1&"-"&COUNTIFS(A$1:A1,A1,B$1:B1,B1)

Fill down to the last row with data.

Free Windows Admin Tool Kit Click here and download it now
May 21st, 2015 11:52am

Hi

This is the forum to discuss questions about Excel develop (VBA, Customization). For your question is about formula for Excel, I will move the question to the forum for Excel

The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.

Thank you for your understanding.

Best Regards,

Lan

May 21st, 2015 11:06pm

In D1:

=A1&"-"&B1&"-"&COUNTIFS(A$1:A1,A1,B$1:B1,B1)

Fill down to the last row with

Free Windows Admin Tool Kit Click here and download it now
May 22nd, 2015 2:22am

Do you use comma as decimal separator and semi-colon as list separator? If so, change the formula to

=A1&"-"&B1&"-"&COUNTIFS(A$1:A1;A1;B$1:B1;B1)

If you use a non-English version of Excel, you will have to change COUNTIFS to the name of that function in the language of Excel.

May 22nd, 2015 3:41am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics