+ Reply to Thread
Results 1 to 4 of 4

Combine two cell into one values in Pivot Table

  1. #1
    Forum Contributor
    Join Date
    02-20-2022
    Location
    Indonesia
    MS-Off Ver
    Excel 2016
    Posts
    118

    Talking Combine two cell into one values in Pivot Table

    Hello,,

    I have a problem with my +add measure in Pivot.
    There is two cell in my table that I want to make it just one values in my Pivot Table.
    Is there any formula in +add measure to fix it?

    I attach the example and explain what I want there..

    Thanks a lot..
    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. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,989

    Re: Combine two cell into one values in Pivot Table

    You might want to mention that this is about a measure in the thread title.
    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
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Combine two cell into one values in Pivot Table

    You could use:

    =VAR S =IF([Sum of Split]>0,"SPLIT","")
    VAR P =IF([Sum of Panen]>0,"PANEN","")
    RETURN IF(S="",P,S&IF(P="","","/"&P))
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Forum Contributor
    Join Date
    02-20-2022
    Location
    Indonesia
    MS-Off Ver
    Excel 2016
    Posts
    118

    Re: Combine two cell into one values in Pivot Table

    Quote Originally Posted by rorya View Post
    You could use:

    =VAR S =IF([Sum of Split]>0,"SPLIT","")
    VAR P =IF([Sum of Panen]>0,"PANEN","")
    RETURN IF(S="",P,S&IF(P="","","/"&P))
    I put the formula on formula box and it say formula invalid and incomplete.
    I try to change it to VAR.S &VAR.P since it is the recommendation from the workbook, but still invalid.
    Is there anything missed?
    I use Excel 2016.
    Attachment 848351


    ps. It's worked. I just need to change the "," to ";" since my format using ";" for any formula.
    Thanks alot Mr. Rorya and Ms. Ali, it's nice knowing you all..
    Last edited by Sultan1994; 11-03-2023 at 10:54 PM.

+ 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. Replies: 0
    Last Post: 01-04-2018, 01:46 PM
  2. Combine the values of items on a pivot table?
    By greengirl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2014, 10:21 AM
  3. [SOLVED] VBA to refresh pivot table if cell values changes
    By siddiq1212 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-26-2014, 01:06 PM
  4. Multiple values in one cell PIVOT table
    By andros2309 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-03-2013, 08:07 AM
  5. Pivot table : Combine row
    By vpolasa in forum Excel General
    Replies: 0
    Last Post: 07-08-2011, 05:39 PM
  6. how do I combine two pivot table?
    By Lisa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-22-2006, 05:35 PM
  7. combine multiple values in a table into one cell using vlookup?
    By Liam S. in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-27-2006, 04:25 PM

Tags for this Thread

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