+ Reply to Thread
Results 1 to 5 of 5

Formula to create similar function to a pivot table

  1. #1
    Registered User
    Join Date
    08-01-2020
    Location
    US
    MS-Off Ver
    MS 365
    Posts
    28

    Formula to create similar function to a pivot table

    Hello,

    I'd appreciate help with a file that I am working on. Not sure how to describe it but I have provided an example in the attached file.

    I have data in the format presented in columns B and C. I need to create the result in columns F-J. Column F is provided and all the values are unique. Row 4 is provided as well and all the values are unique too.

    I need to count how many times there is an overlap.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Formula to create similar function to a pivot table

    In G5 copied across and down:

    =SUMPRODUCT(($B$4:$B$9=$F5)*(ISNUMBER(SEARCH(G$4,$C$4:$C$9))))

    There is a typo in cell C8 - I've corrected it in the attached.
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-01-2020
    Location
    US
    MS-Off Ver
    MS 365
    Posts
    28

    Re: Formula to create similar function to a pivot table

    Thank you so much!

  4. #4
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    Re: Formula to create similar function to a pivot table

    Hi zz_zz11

    Your Cell C8 has the following content: 2002 char six, so it is normal to get 1 in Cell H6 calculation, but it is actually 2002 chair six, or it may be a typo, or you will really get 2

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Formula to create similar function to a pivot table

    That was pointed out in post #2 yesterday.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Write a formula to obtain a similar result to a pivot table summary
    By Hedy in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-31-2020, 09:12 AM
  2. [SOLVED] Function in VBA to create a pivot table with only specific data from reference file
    By mati_WAR in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-06-2017, 10:39 AM
  3. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  4. [SOLVED] Extract 9 largest categories - similar to pivot table but need formula
    By Thanks4helping in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-19-2016, 04:32 PM
  5. Create Pivot Table using Left() function
    By Actos in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-18-2016, 05:35 PM
  6. Create a Function similar to multiple IFs
    By Andy in forum Excel General
    Replies: 4
    Last Post: 02-13-2006, 02:21 AM
  7. [SOLVED] create pivot table formula without the GETPIVOTDATA function
    By ebergkes in forum Excel General
    Replies: 3
    Last Post: 11-10-2005, 08:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1