+ Reply to Thread
Results 1 to 11 of 11

WANT TO return a group number of each po, and group items.

  1. #1
    Registered User
    Join Date
    09-26-2019
    Location
    usa
    MS-Off Ver
    10
    Posts
    19

    WANT TO return a group number of each po, and group items.

    Hi everyone.

    I am having a hard time figuring out how to return a group number by each PO# and ITEM as unqiue groups within each PO.

    What I want is Column C to have the unique group numbers of each PO.

    If anyone can help I would appreciate it!

    Thank you.
    Last edited by AliGW; 12-01-2019 at 03:48 AM.

  2. #2
    Registered User
    Join Date
    11-25-2019
    Location
    Istanbul, Turkey
    MS-Off Ver
    365
    Posts
    6

    Re: WANT TO return a group number of each po, and group items.

    Is using a pivot table an option? Perfect job for a pivot table

  3. #3
    Registered User
    Join Date
    09-26-2019
    Location
    usa
    MS-Off Ver
    10
    Posts
    19

    Re: WANT TO return a group number of each po, and group items.

    Thanks for the reply.
    No its not in a pivot table but I might try that out if it works.

  4. #4
    Registered User
    Join Date
    09-26-2019
    Location
    usa
    MS-Off Ver
    10
    Posts
    19

    Re: WANT TO return a group number of each po, and group items.

    I'm not too familiar with using pivot tables? Can you show me how that can be used?

  5. #5
    Registered User
    Join Date
    09-26-2019
    Location
    usa
    MS-Off Ver
    10
    Posts
    19

    Re: WANT TO return a group number of each po, and group items.

    Can anyone help with a formula that would return a group number in column C

  6. #6
    Registered User
    Join Date
    11-25-2019
    Location
    Istanbul, Turkey
    MS-Off Ver
    365
    Posts
    6

    Re: WANT TO return a group number of each po, and group items.

    Attached is a pivot example. Not the most elegant solution but maybe someone else knows better
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,967

    Re: WANT TO return a group number of each po, and group items.

    Wrong formula

  8. #8
    Registered User
    Join Date
    09-26-2019
    Location
    usa
    MS-Off Ver
    10
    Posts
    19

    Re: WANT TO return a group number of each po, and group items.

    thanks for the input.

    However, the values in column C are what I want to get. So in order to get those values I need a formula for the rows in column C.

    Thank you

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: Solved

    Nate, please do NOT erase post data in your threads. Other members may have been able to use suggestions here, but by deleting your posts, you have made this thread useless to others!
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  10. #10
    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. 2502 (Windows 11 Home 24H2 64-bit)
    Posts
    89,725

    Re: WANT TO return a group number of each po, and group items.

    I have reinstated the opening post and thread title, and marked the thread as solved.
    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.

  11. #11
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,967

    Re: WANT TO return a group number of each po, and group items.

    a
    b
    c
    d
    e
    f
    g
    h
    1
    po# item group po# item group
    2
    123
    a
    1
    123 a
    1
    3
    123
    a
    1
    123 b
    2
    4
    123
    b
    2
    123 c
    3
    5
    123
    b
    2
    456 a
    1
    6
    123
    c
    3
    456 b
    2
    7
    456
    a
    1
    456 c
    3
    8
    456
    b
    2
    9
    456
    b
    2
    10
    456
    c
    3



    H2=IF($F2<>"",SUM(IF(FREQUENCY(IF($A$2:$A$10&$B$2:$B$10=F2&G2,$C$2:$C$10),$C$2:$C$10),$C$2:$C$10)),"")

    Control+shift+enter copy down

+ 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] Help with assigning a sequential number for sub group of a group?
    By AliJWood in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-08-2018, 10:29 AM
  2. Replies: 14
    Last Post: 01-12-2017, 01:41 PM
  3. "Flagging" a number in one group when it matches a number in another group
    By Bill Not Gates in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-11-2014, 09:59 PM
  4. Replies: 1
    Last Post: 02-10-2014, 10:26 PM
  5. Replies: 0
    Last Post: 05-28-2013, 04:52 PM
  6. Replies: 2
    Last Post: 01-18-2013, 12:45 PM
  7. How to group items into a JPG ?
    By Reema in forum Word Formatting & General
    Replies: 3
    Last Post: 08-03-2009, 09:35 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