+ Reply to Thread
Results 1 to 6 of 6

last price

  1. #1
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    last price

    Dear sir,with best regards,i need your help to get last price from this schedule of data :
    -the range(ag5:ag500) has the names of materials.
    -the range(ai5:am5) has the prices of each material.for example (A) material has these prices continually 1.6,1.8,1.9) i need the result as ( 1.9 ).
    -the range(ar5:ar500) the last prices from above second range,and the cells are ( empty ) if there is no prices.
    your help is very appreciated.
    Last edited by tofimoon4; 01-23-2012 at 02:11 AM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: last price

    Try
    =INDEX(AG5:AR500,MATCH(A1,AG5:AG500,0),12)

    where A1 is the material whose price you want
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Re: last price

    Dear sir,with my thanks,i tried to use the formula on my example,but failed.
    I enclosed herewith the example asking you kindly to help by your formula.
    Many thanks in advance.
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: last price

    Hi

    Maybe in AR5, try MAX formula. =MAX(AI5:AM5)

    Copy down.

    Hope to helps you.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: last price

    Hi,

    AR5, copy down...

    =IF(COUNT(AI5:AM5),LOOKUP(9E300,AI5:AM5),"")


    This will give the last number in a row
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  6. #6
    Forum Contributor
    Join Date
    06-06-2007
    Posts
    248

    Re: last price

    Dear sir,many thanks for help,the formula works very nice.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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