index and Countif

jjayden

New Member
Joined
May 2, 2008
Messages
41
I am looking to create a formula that will provide me with the count for the below 4 spaces based on the number in column 7 after matching the company name from column A
So is i am looking to populate cell b2 by matching the value in A2 with $F:$F then count the number that match the Urgency 4 and the same for C2 that matches the Ugency of 3 and so on

let me know if you can help
ABCDEFG
1​
Company name
4​
3​
2​
1​
CompanyUrgency
2​
Company 1Company 13-Medium
3​
Company 2Company 13-Medium
4​
Company 22-High
5​
Company 22-High
6​
Company 24-Low
7​
Company 13-Medium
8​
Company 12-High
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Try, in B2
Excel Formula:
=SUMPRODUCT(--($F$1:$F$100=$A2),--(LEFT($G$1:$G$100,1)=LEFT(B$1,1)))
Copy B2 to the right; then copy B2:E2 down


D:\DDownloads\[MULTI_C30923.xlsm]Foglio3
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Another option
Fluff.xlsm
ABCDEFG
1Company name4321CompanyUrgency
2Company 10310Company 13-Medium
3Company 21020Company 13-Medium
4Company 22-High
5Company 22-High
6Company 24-Low
7Company 13-Medium
8Company 12-High
Sheet5
Cell Formulas
RangeFormula
B2:E3B2=COUNTIFS($F:$F,$A2,$G:$G,B$1&"*")
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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