+ Reply to Thread
Results 1 to 3 of 3

Adobt Formula for new condition

  1. #1
    Registered User
    Join Date
    10-22-2018
    Location
    Turkey
    MS-Off Ver
    Office2010
    Posts
    84

    Question Adobt Formula for new condition

    Dear All,

    My excel file is attached. Once Forum Contributor XLENT advised me a perfect formula (in B9) can calculate all possibilities regarding to the criterias above. My question is how can it be modified to calculate over the CHECK-IN day price not considering the period break?

    I mean if I choose 29.04-06.05 of 7 overnights (the Check-Out day of 06.05 always excluded), the current formula calculates 2 nights (29-30.04) from 72 and 5 nights (01-05.05) from 78 which is giving accurate result (534) considering period break on 01.05.

    So how the formula can be adobted if being calculated over the 1st day (Check-in day) price only with respect to criterias above. In that case calculation would be 72 * 7= 504 without considering period break on 01.05.

    Thanks in advance for your kindest helps.
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Adobt Formula for new condition

    Please try at B9
    =LOOKUP(0,0/(A34:A129=B6)/(B34:B129=B7)/(C34:C129=B5),INDEX(D34:O129,,MATCH(B2,D31:O31)))*B4*B8

  3. #3
    Registered User
    Join Date
    10-22-2018
    Location
    Turkey
    MS-Off Ver
    Office2010
    Posts
    84

    Re: Adobt Formula for new condition

    Dear Bo-Ry thanks indeed for your great prompt works excellent. Regards

+ 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: 19
    Last Post: 05-21-2019, 03:17 PM
  2. Formula to sum with certain condition
    By takojr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-10-2017, 07:08 PM
  3. [SOLVED] Condition formula
    By mahershams in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 08-21-2013, 03:43 AM
  4. Excel formula if conition formula for 2 condition with consider timings
    By breadwinner in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-18-2013, 11:05 AM
  5. [SOLVED] Help for if condition formula result only either hit or miss from mulitple condition
    By breadwinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2013, 07:29 AM
  6. Formula Condition
    By marcNct in forum Excel General
    Replies: 2
    Last Post: 12-07-2009, 01:25 PM
  7. More than one condition for a sum formula
    By Asif Surti in forum Excel General
    Replies: 4
    Last Post: 05-27-2009, 12:31 PM

Tags for this Thread

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