TALLY TABLE using VLOOKUP & COUNTIF

dudematters21

New Member
Joined
Oct 12, 2024
Messages
13
Office Version
  1. 365
Hello Masters, may I ask for your help with my current project. Just cant get the right vlookup and countif formula for them..
So I'm trying to automate this table with 2 categories - color and status. Basing on the report given below the table.
Hope someone could help. TIA.

1739052354073.png
 
Try:

DANTE AMOR
ABCDEFGHI
1newoldreturnReport Chart
2red310ItemColorStatus
3orange0101rednew
4green1012rednew
5yellow2013yellownew
64greenreturn
75rednew
86orangeold
97yellownew
108yellowreturn
119greennew
1210redold
Hoja2
Cell Formulas
RangeFormula
B2:D5B2=COUNTIFS($H:$H,$A2,$I:$I,B$1)
 
Upvote 0
Solution
OH NICE THIS WORKS FINE, WAS GETTING CRAZY MIXING VLOOKUP AND COUNTIF.. THANKS THANKS
Try:

DANTE AMOR
ABCDEFGHI
1newoldreturnReport Chart
2red310ItemColorStatus
3orange0101rednew
4green1012rednew
5yellow2013yellownew
64greenreturn
75rednew
86orangeold
97yellownew
108yellowreturn
119greennew
1210redold
Hoja2
Cell Formulas
RangeFormula
B2:D5B2=COUNTIFS($H:$H,$A2,$I:$I,B$1)
 
Upvote 0
You can get a spill array by grabbing all the headers.
Book3
ABCDEFGHI
1newoldreturnReport Chart
2red310ItemColorStatus
3orange0101rednew
4green1012rednew
5yellow2013yellownew
64greenreturn
75rednew
86orangeold
97yellownew
108yellowreturn
119greennew
1210redold
Sheet2
Cell Formulas
RangeFormula
B2:D5B2=COUNTIFS(H:H,A2:A5,I:I,B1:D1)
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,226,771
Messages
6,192,917
Members
453,766
Latest member
Gskier

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
Back
Top