+ Reply to Thread
Results 1 to 4 of 4

Different days equals different price...

Hybrid View

  1. #1
    Registered User
    Join Date
    02-10-2012
    Location
    Cowtown Canada
    MS-Off Ver
    Excel 2010
    Posts
    50

    Different days equals different price...

    Hello

    I am trying to finish up a simple rental items sheet for they guys in the back shop. I got great help from here on automatically selecting the price when i select the item from a drop down. (they are gonna love this sheet) But now, i realized that they charge less if items are rented for more than 5 days. I already have a somewhat complicated formula in there. I need to make the column it pulls from change if the rental days are more that 5. Please see attached sheet, and thanks.

    -Stu
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Different days equals different price...

    Try:

    =IF(B13="","",INDEX('Rental items'!B:C,MATCH(B13,'Rental items'!A:A,0),IF(C13<5,1,2)))

    copied down
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,379

    Re: Different days equals different price...

    Hi gluktar,

    See the answer on the attached.

    I see the NBVC stayed with your Index function and I used a VLookup. Use whichever you like.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    02-10-2012
    Location
    Cowtown Canada
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Different days equals different price...

    Awesome, thanks guys.

+ 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