Reflect the summary of inquiry for clients with query

anneb_87

Board Regular
Joined
Jun 13, 2018
Messages
84
Hi Experts!

Here is my expected output, I need to populate the in the query column the summary of Open Issue for those client with open issue.
Client NameQuery
A
B
C


Here is my source data

Client NameWith Open Issue?Summary of Open Issue
AYesEnrollment
B
CYesPremium

Is this possible?
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi, there is a lot ways for do it.
  • Pivot Table
  • Power Query
  • VLOOKUP
  • INDEX
  • Data/Filter
But let me show you it with an example:
In query column, put =IF(VLOOKUP (A1,'source_data'!A2:B4,2,FALSE)="Yes",VLOOKUP (A1,'source_data'!A2:B4,3,FALSE),"")

I'm sorry, but I'm writing from my cellphone.
 
Last edited:
Upvote 0
See if this is what you mean.

Book1
ABC
1Client NameQuery
2AEnrollment
3B 
4CPremium
5
6
7Client NameWith Open Issue?Summary of Open Issue
8AYesEnrollment
9B
10CYesPremium
Open Issue
Cell Formulas
RangeFormula
B2:B4B2=IF(VLOOKUP(A2,A$8:B$10,2,0)="Yes",VLOOKUP(A2,A$8:C$10,3,0),"")
 
Upvote 0
Oooppss I got some problem.. because the summary open issue for the multiple data of a given client

So if I will be using the vlookup the first value that it will get is the first row only of that client.. how should I fix the formula?

Updated source data

Client NameDataWith Open Issue?Summary of Open Issue
A
1​
A
2​
YesEnrollment
A
3​
B
1​
B
2​
 
Upvote 0
The result will be same
So try this.

Book1
ABCD
1Client NameQuery
2AEnrollment
3B 
4C 
5
6
7Client NamedataWith Open Issue?Summary of Open Issue
8A1
9A2YesEnrollment
10A3
11B1
12B2
Open Issue (2)
Cell Formulas
RangeFormula
B2:B4B2=IF(COUNTIFS(A$8:A$12,A2,C$8:C$12,"Yes"),INDEX(D$8:D$12,MATCH(A2&"|Yes",INDEX(A$8:A$12&"|"&C$8:C$12,0),0)),"")
 
Upvote 0

Forum statistics

Threads
1,214,654
Messages
6,120,758
Members
448,991
Latest member
Hanakoro

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