Grouping & Sub-grouping

Sunil Pinto

New Member
Joined
Jul 31, 2024
Messages
24
Office Version
  1. 2016
Dear All,

I have the amounts listed in Column A and the sub-groups in Column B. I need to determine the main group for each entry in Column C, based on the grouping method outlined on the left-hand side.(Find the details attached)

Could anyone assist me in developing a formula for Column C to automatically generate the main group details?

I hope my requirement is clear. Thank you in advance for your support!

Best regards,

Sunil PInto
 

Attachments

  • Grouping & Rgrouping.PNG
    Grouping & Rgrouping.PNG
    87.8 KB · Views: 9
Hello,

If you make a 2-columns table from values in column E, with on the 1st column the sub-groups, and on the 2nd column the corresponding main group (the ones in bold), you can use a simple VLOOKUP on this table to get main group from sub-group taken in column B of your table.
Something like
Excel Formula:
=VLOOKUP(B2, table, 2, FALSE)
 
Upvote 0
Solution

Forum statistics

Threads
1,226,771
Messages
6,192,924
Members
453,767
Latest member
922aloose

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top