Hi all, our IT department has been stumped by this - we need to convert a report from multiple rows for each client representing different services to one row for each client with the services in columns as per the attached. Any ideas ?
Hi all, our IT department has been stumped by this - we need to convert a report from multiple rows for each client representing different services to one row for each client with the services in columns as per the attached. Any ideas ?
Hi. Before we get going on this one...
Is your forum profile showing the Excel PRODUCT that you need this request to work with?
The best solutions often rely on knowing WHICH Office PRODUCT (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date. If you aren't sure, in Excel go to File/Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.
The three most recent Excel PRODUCTS are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the Version number in your profile (e.g. MS365 (PC) Version 2211). The version number is in the About Excel section further down the Account page.
Cheers,
Glenn.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.
Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh
Please update your Excel version/release [64 is not one!!!] as answers do depend on knowing this information
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Edit - answers given while i was creating the example spreadsheet
EDIT - JohnTopley - correction in later post - also updated the spreadsheet
how about using
=IF(COUNTIFS($A$2:$A$15,$E2,$B$2:$B$15,F$1),F$1,"")
Not sure which version of excel you have - but this uses transpose & unique
otherwise the table headings can just be setup manually
Last edited by etaf; 02-07-2023 at 07:14 AM.
Wayne
if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here
If you have a solution to your thread - Please mark your thread solved do the following: >
Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.
Minor correction
=IF(COUNTIFS($A$2:$A$15,$E2,$B$2:$B$15,F$1),F$1,"")
thanks JohnTopley
I have updated the post and spreadsheet to reflect your correction
thanks again
Last edited by etaf; 02-07-2023 at 07:14 AM.
If you have the latest version of O365, you can do the lot in a single cell, using:
=LET(A,'Current data'!A2:A15,B,'Current data'!B2:B15,C,UNIQUE(A),D,TRANSPOSE(UNIQUE('Current data'!B2:B15,FALSE)),E,DROP(REDUCE("",D,LAMBDA(y,z,HSTACK(y,BYROW(C,LAMBDA(x,IFERROR(IF(MATCH(1,(A=x)*(B=z),0)>0,z,""),"")))))),,1),VSTACK(HSTACK("",D),HSTACK(C,E)))
with Power Query
Client Service Client a b c d e f g Client 1 Service a Client 1 Service a Service b Service c Service d Service e Client 1 Service b Client 2 Service a Service c Service d Service f Service g Client 1 Service c Client 3 Service c Client 1 Service d Client 4 Service c Service d Service f Client 1 Service e Client 2 Service a Client 2 Service c Client 2 Service d Client 2 Service f Client 2 Service g Client 3 Service c Client 4 Service c Client 4 Service d Client 4 Service f
you have redundant spaces in the source table
Last edited by sandy666; 02-07-2023 at 07:32 AM.
Sorry - it's MS365 and version 2205.
What we actually wanted was a "Yes" or tick rather than the actual service description for each client (and the service description just at the top of the relevant column) but I assumed we would need to go with the data that was already there and have the service description written out in each cell as it was originally.
Thats not what your "required data" showedWhat we actually wanted was a "Yes" or tick rather than the actual service description for each client
=IF(COUNTIFS($A$2:$A$15,$E2,$B$2:$B$15,F$1),"Yes","")
many years ago, I made an attendance tracker and used marlett font with an lowercase "a" to get a tick
=IF(COUNTIFS($A$2:$A$15,$E2,$B$2:$B$15,F$1),"a","")
Last edited by etaf; 02-07-2023 at 08:55 AM.
Please upload a sample sheet showing what you DO want... not what you DO NOT want.
... and DON'T QUOTE WHOLE POST but required part of text only
tick.png
unfortunately the forum doesn't recognize the tick (square root) symbol and that's why there is a picture
Last edited by sandy666; 02-07-2023 at 10:08 AM.
Formulae (3) to produce column and row headers and result.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks