+ Reply to Thread
Results 1 to 11 of 11

Find a cell adress between a list of sorted values

Hybrid View

  1. #1
    Registered User
    Join Date
    03-05-2015
    Location
    Portugal
    MS-Off Ver
    Portugal
    Posts
    24

    Find a cell adress between a list of sorted values

    Good night,

    I have a doubt and I've been wondering how to do this for quite some time (I've managed to do it in a hard way, but I suppose it is possible pretty easily).

    The thing is:

    I have a row with SORTED data lets say: 1,2,3,4,5,6,7...,100 each number in a different cell. Now I want to search for a value present in another cell, lets say 2.5. Since it isn't an exact match it should return me the number 3 (function match?) and then I want to search a different number, lets say 33.3 and do the average between the values in the first row between 3 and 33.

    Is that possible?

    Thanks
    Joao
    Last edited by Odracir; 03-05-2015 at 03:44 PM.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula help

    Change the title according to the forumrules.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    02-28-2015
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    21

    Re: Formula help

    Dear,

    try to put 1 in the function match, like this.... match(G10;E8:E12;1)....

  4. #4
    Registered User
    Join Date
    03-05-2015
    Location
    Portugal
    MS-Off Ver
    Portugal
    Posts
    24

    Re: Find a cell adress between a list of sorted values

    That works and returns me the value that is greater that the specified search term, I need the mean between those two "searches"

  5. #5
    Registered User
    Join Date
    02-28-2015
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    21

    Re: Find a cell adress between a list of sorted values

    Man,

    try to attached a exexmplo... maybe we could help you...

  6. #6
    Registered User
    Join Date
    03-05-2015
    Location
    Portugal
    MS-Off Ver
    Portugal
    Posts
    24

    Re: Find a cell adress between a list of sorted values

    Example.xlsx There's the file

  7. #7
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find a cell adress between a list of sorted values

    the yellow cells are helpcells.

    the green cells are thw result

    see the attached file

  8. #8
    Registered User
    Join Date
    03-05-2015
    Location
    Portugal
    MS-Off Ver
    Portugal
    Posts
    24

    Re: Find a cell adress between a list of sorted values

    Perfect!!! I was using a much complex way... this will make my spreadsheets much lighter! Thanks

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Find a cell adress between a list of sorted values

    Thanks for the reply.

    Glad I could help.

    you can add rep(utationpoints) to the one who helped you, by clicking on the star on the left side.

    Please also add the threat solved

  10. #10
    Registered User
    Join Date
    03-05-2015
    Location
    Portugal
    MS-Off Ver
    Portugal
    Posts
    24

    Re: Find a cell adress between a list of sorted values

    Theres one more thing that whould make it 100% perfect... what if the values I want to calculate the average aren't in the same row, but in the row below? I'll attach a file: Example.xlsx

  11. #11
    Registered User
    Join Date
    03-05-2015
    Location
    Portugal
    MS-Off Ver
    Portugal
    Posts
    24

    Re: Find a cell adress between a list of sorted values

    Found it.. thanks... added rep to you! One more time, 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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