+ Reply to Thread
Results 1 to 2 of 2

How to show the first value of a group in a column ?

  1. #1
    Registered User
    Join Date
    01-29-2020
    Location
    Maastricht, Netherlands
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    1

    Question How to show the first value of a group in a column ?

    Dear excel forum members

    I am currently struggling with showing the first value of a group in a new column. I tried the following formula [=OFFSET($J$9;MATCH(C$10:C$126;$K$10:$K$481;0);;;1)], where J9 is the value that needs to appear in the new column L, C10 is the country and its rank, K10:K481 are the matching countries and their ranks.

    How it should look:

    Column K Column L

    Belgium 1 1
    Germany 1 1
    Greece 1 1
    Greece 1
    France 1 1
    France 1
    France 1
    France 1
    Italy 1 1
    Latvia 1 1
    Ireland 3 3
    Spain 3 3
    Spain 3
    United Kingdom 3 3
    United Kingdom 3

    How it looks at the moment:

    Column K Column L

    Belgium 1 1
    Germany 1 #N/A
    Greece 1 #N/A
    Greece 1 #N/A
    France 1 1
    France 1 #N/A
    France 1 #N/A
    France 1 #N/A
    Italy 1 1
    Latvia 1 #N/A
    Ireland 3 3
    Spain 3 #N/A
    Spain 3 #N/A
    United Kingdom 3 3
    United Kingdom 3 #N/A
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    11-10-2017
    Location
    INDIA
    MS-Off Ver
    365
    Posts
    184

    Re: How to show the first value of a group in a column ?

    Check this out!

    If you want the rank to be copied in next column replace 1 by right(k10,1).
    Attached Files Attached Files
    Last edited by Sunny18pc; 01-29-2020 at 08:36 AM. Reason: save file
    *If you wish you click on *,a way to say ThankYou

+ 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. How to group 100% columns to show trends over time?
    By asimbig in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-07-2018, 04:43 PM
  2. Generate random group of words in a cell from a large group word list in column
    By faizzsheikh in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-26-2018, 10:16 AM
  3. [SOLVED] (VBA) How Assign Column Cell To Corresponding Group, and Paste Group Cells into Groups WS?
    By eryksd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-08-2016, 06:18 PM
  4. Function to show which group(s) a unique identifier are in
    By bradbracey in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-15-2013, 05:04 PM
  5. Replies: 3
    Last Post: 12-05-2012, 01:41 AM
  6. compare two column(group by group, maybe?)
    By mikehjun in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2008, 04:23 PM
  7. Hide and show a group of worksheets
    By dreamkeeper in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-28-2006, 04:10 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