+ Reply to Thread
Results 1 to 5 of 5

I want a value to appear differently in new cell. (pic inside)

  1. #1
    Registered User
    Join Date
    12-14-2017
    Location
    Pattaya,Thailand
    MS-Off Ver
    2010
    Posts
    13

    I want a value to appear differently in new cell. (pic inside)

    Untitled.jpg

    From sheet1. There are 2 sets of data with 2 types I want them to appear in sheet2 like in the picture.
    In sheet2,column A shows Types and column B shows Sum of each type.
    And most important is to begin a new row when there are more data types in sheet1, like Data 1 c and Data 2 d, so it adds more rows for Type c and Type d.

    Can it be done and can you teach me please? Thank you

    Edit: The type of data indicates by last letter in Sheet1 column A(a,b,c,d..). Don't know if this helps.
    Edit2: Typo

    PS. I think I did post in the wrong forum before so I didn't get any reply there.
    Last edited by GPMan; 12-14-2017 at 06:01 AM.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: I want a value to appear differently in new cell. (pic inside)

    This is simple, using Power Query. Format your data in Sheet1 as a Table with Column Headers "Data" and "Value", then use:

    Please Login or Register  to view this content.


    Not sure where to put Power Query code? See https://excel.solutions/2017/11/powe...te-code-video/

    Your profile states you are using Excel 2010 - Power Query is a free addin - see https://www.excelcampus.com/install-power-query/
    Attached Files Attached Files
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    12-14-2017
    Location
    Pattaya,Thailand
    MS-Off Ver
    2010
    Posts
    13

    Re: I want a value to appear differently in new cell. (pic inside)

    Thank you so much, Olly. I have not tried it yet though,but will do in the morning.

  4. #4
    Registered User
    Join Date
    12-14-2017
    Location
    Pattaya,Thailand
    MS-Off Ver
    2010
    Posts
    13

    Re: I want a value to appear differently in new cell. (pic inside)

    Quote Originally Posted by Olly View Post
    This is simple, using Power Query. Format your data in Sheet1 as a Table with Column Headers "Data" and "Value", then use:

    Please Login or Register  to view this content.


    Not sure where to put Power Query code? See https://excel.solutions/2017/11/powe...te-code-video/

    Your profile states you are using Excel 2010 - Power Query is a free addin - see https://www.excelcampus.com/install-power-query/
    Problem found. I have to make 2 tables for "Data"(Table1) and "Value"(Table2) because they're seperated columns so the current code doesn't work. Seems like it couldn't find "Value" in the table, I guess.
    I've been trying to make 2 Tables in to 1 and add more source for table in Power Query, but it turned out that I was dumber than I thought.

    Edit1.2: May I know if a prefix could be added in "Data Type" column, Sheet2? Like 'product type a'.
    Edit2.2: Some types of "Data" actually contain a number in suffix and a letter in the name in stead of number like this "Data 1 2a" , Data 2 3b, Data A 2a , Data B 3b". Is this a part of the problem?
    Last edited by GPMan; 12-15-2017 at 12:11 AM.

  5. #5
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: I want a value to appear differently in new cell. (pic inside)

    I am not sure what you are asking me? If you're still stuck, then please attach your workbook, so I can see what you're trying.

+ 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: 12-14-2017, 03:55 AM
  2. Replies: 7
    Last Post: 11-09-2015, 01:59 AM
  3. Format cell text differently
    By aluniquen in forum Excel General
    Replies: 20
    Last Post: 01-21-2015, 11:08 AM
  4. [SOLVED] need to format a cell to change cell color & display entry differently
    By dnsmc in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-28-2013, 11:10 AM
  5. TextBox to update cell value differently if null
    By SinGin in forum Excel General
    Replies: 3
    Last Post: 04-04-2011, 04:19 PM
  6. Giving a cell a value (but naming it differently)
    By Mustard1 in forum Excel General
    Replies: 3
    Last Post: 06-23-2007, 01:22 PM
  7. [SOLVED] FORMAT SECTIONS OF CELL FORMULA DIFFERENTLY
    By Takeadoe in forum Excel General
    Replies: 3
    Last Post: 07-13-2006, 11:25 AM

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