+ Reply to Thread
Results 1 to 3 of 3

multiple functions

  1. #1
    Registered User
    Join Date
    05-18-2008
    Posts
    7

    multiple functions

    Hello all, I just picked up on excel functions over the past couple days, but I've come to a holding point and need some insight on this. I'm making a sheet to use linear interpolation the rescale some values, hopefully someone can give me some insight on what is wrong with this code. Thanks!

    Code I need some help with:

    =IF(SMALL(C6:C25,1)>C30,SMALL(C6:C25,1),IF(C30>LARGE(C6:C25,1),C30,IF(1=COUNTIF(C6:C25,C30),C30,OFFSET(C6,MATCH(C30,C6:C25,-1),0,1,1))))

    C6: 500
    C7: 1000
    C8: 2000
    C9: 3000
    C10: 4000
    C11: 5000
    C12: 6000
    C13: 7000
    C14: 8000
    C15: 9000
    C16: 10000
    C17: 11000
    C18: 12000
    C19: 13000
    C20: 14000
    C21: 15000
    C22: 16000
    C23: 17000
    C24: 18000
    C25: 19000

    C30: 600

    Thanks guys, appreciate the much needed help

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Change the -1 to 1 in the MATCH component. Your data is in ascending order.


    rylo

  3. #3
    Registered User
    Join Date
    05-18-2008
    Posts
    7
    Wow, thanks. I'm making a somewhat large excel spreadsheet for car data. I'll post any other problems I encounter.

+ 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