+ Reply to Thread
Results 1 to 9 of 9

Match Value based on referencing multiple columns

  1. #1
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Match Value based on referencing multiple columns

    Hi,

    I have the attached spreadsheet that has 3 columns.

    What I need to happen is when there are two values in Column A "Acct" that are them same go to Column C "Amount" and make the value for both rows equal to the highest value.

    ie; for Acct: 123456 change Row 2 to the highest Value ie; 250.66

    Cheers
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Match Value based on referencing multiple columns

    Are you really looking for a VBA solution, or a formula?
    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
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Match Value based on referencing multiple columns

    Sorry just realised I put this in the wrong forum...just after a formula

  4. #4
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Match Value based on referencing multiple columns

    Let me know if I should close this thread and post it in the Excel Formulas Forum...

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,835

    Re: Match Value based on referencing multiple columns

    D2

    =MAX(IF($A$2:$A$7=A2,$C$2:$C$7))

    Confirm with Ctrl + Shift + Enter (Array formula entry) then copy down.

  6. #6
    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. 2507 (Windows 11 Home 24H2 64-bit)
    Posts
    91,792

    Re: Match Value based on referencing multiple columns

    Quote Originally Posted by tejboyd View Post
    Let me know if I should close this thread and post it in the Excel Formulas Forum...
    No - never duplicate threads. Always ask a moderator to move the thread if this happens.

    Thread moved.

  7. #7
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Match Value based on referencing multiple columns

    Thanks. But when I use that formula it just applies the Highest Value from Row 2 & 3 "250.66" in D2:D7

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,835

    Re: Match Value based on referencing multiple columns

    I you want it replaced in col.C, you need vba.

  9. #9
    Registered User
    Join Date
    08-26-2014
    Location
    London,England
    MS-Off Ver
    2010
    Posts
    95

    Re: Match Value based on referencing multiple columns

    sorry ignore me. it worked thanks.

+ 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] Match record number across sheets based on data from multiple columns
    By smithcw in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 08-12-2013, 02:25 PM
  2. Replies: 1
    Last Post: 01-23-2013, 08:59 PM
  3. formula for cross referencing partial match and returning values from 2 columns
    By 5thgenbliss in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2013, 04:11 PM
  4. [SOLVED] INDEX and MATCH across multiple columns based on dropdown list
    By omni72 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-08-2012, 03:00 AM
  5. Replies: 2
    Last Post: 06-29-2011, 01:36 PM
  6. Formula referencing multiple columns
    By cbee907 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-05-2010, 11:39 AM
  7. Referencing Multiple Columns
    By melegaunt in forum Excel General
    Replies: 3
    Last Post: 01-21-2009, 05:20 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