+ Reply to Thread
Results 1 to 4 of 4

display cell value using a constant column but a changing row value

  1. #1
    Registered User
    Join Date
    08-07-2015
    Location
    New York State
    MS-Off Ver
    2003
    Posts
    2

    display cell value using a constant column but a changing row value

    I am using Excel 2003



    I have columns A to P and rows 1 to 225. The values in each row of Column P change constantly. All cells contain numbers

    I have a cell P230 with formula =MATCH(MAX(P2:P225),P:P,0) that determines the row that has the highest value in column P

    example P230 would have a value of 114

    I want to show the value of other columns in the row of the contents of P230, using the value or the Formula in P230

    I cannot use =O114 because the row that has the highest value in column P changes all the time.

    I'm looking for =O114 to be like O & P230 or =O & MATCH(MAX(P2:P225),P:P,0)


    Than I'll want the value of column O, row value P230 plus 26 example =O & P230+26 or =O & MATCH(MAX(P2:P225),P:P,0)+26
    Last edited by Papa Hog; 08-07-2015 at 10:45 PM.

  2. #2
    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
    52,962

    Re: display cell value using a constant column but a changing row value

    Hi, welcome to the forum

    Maybe this...
    =INDEX(A:P,MATCH(MAX(P2:P225),P:P,0),insert-column-number-here)

    Or, if you have column headings, we can use another MATCH to find the column number
    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

  3. #3
    Registered User
    Join Date
    08-07-2015
    Location
    New York State
    MS-Off Ver
    2003
    Posts
    2

    Re: display cell value using a constant column but a changing row value

    Quote Originally Posted by FDibbins View Post
    Hi, welcome to the forum

    Maybe this...
    =INDEX(A:P,MATCH(MAX(P2:P225),P:P,0),insert-column-number-here)

    Or, if you have column headings, we can use another MATCH to find the column number



    I put =INDEX(A:P,MATCH(MAX(P2:P225),P:P,0), 15) and it works, thank you
    Last edited by Papa Hog; 08-07-2015 at 11:16 PM.

  4. #4
    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
    52,962

    Re: display cell value using a constant column but a changing row value

    Awesome, glad it worked for you

+ 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: 1
    Last Post: 06-18-2014, 02:46 PM
  2. Constant Letters Before a Changing Number in a Column
    By LaurenSmalley in forum Excel General
    Replies: 1
    Last Post: 03-26-2010, 01:52 PM
  3. cell to remain constant value in column
    By yikes in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-15-2007, 08:28 PM
  4. [SOLVED] Changing a constant
    By achidsey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-02-2006, 07:30 PM
  5. changing formula result to constant value
    By pemily in forum Excel General
    Replies: 5
    Last Post: 12-08-2005, 05:44 PM
  6. [SOLVED] Make one row a constant display?
    By MRW in forum Excel General
    Replies: 3
    Last Post: 11-22-2005, 06:10 PM
  7. Display constant time in textbox
    By mikewild2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-23-2005, 06:57 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