Active Member
January 8, 2020
Hello,
I am struggling a lot while using COUNTIF Formula withing Excel Table.
(Excel table means "Table" created by using CTRL+T).
[I use COUNTIF very frequently almost each day. And I have ensured correct references in my formula.]
Excel automatically changes COUNTIF Formula reference when I add new row to excel table. However excel gives me yellow triangle to autocorrect formula but I don't want to click and correct every time.
Please refer attachment.
Will be really grateful, if someone helps me on this.
Trusted Members
December 20, 2019
Trusted Members
Moderators
November 1, 2018
Active Member
January 8, 2020
Hello,
Just minor change was required in the formula. I made "1" in place of "2" because if the table is having only one record then 1st record (occurrence) should give me result as "1" but it gave me "#REF!"
Below works fine:
=COUNTIF(INDEX([Invoice],1):[@Invoice],[@Invoice])
Thank you!
Trusted Members
December 20, 2019
Jigar Panchal said
Hi Purfleet,Thank you for your try..but that did not work as I wanted "1" on first occurrence, "2" on second occurrence, "3" on third occurrence and so on.
Your suggestion gave me total count against each value..
Thank you so much!
Okay, fair enough. It wasnt clear from your question that you wanted to count 1, 2 and so on
1 Guest(s)