+ Reply to Thread
Results 1 to 3 of 3

Need Help on Lookup & Reference Function

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    Muscat
    MS-Off Ver
    window 2007
    Posts
    32

    Need Help on Lookup & Reference Function

    I'm building gas forecast model. I have a compressor with semi fixed capacity C . I also have two fields, A & B. A has priority over B, and B is just used to top-up. I have 4 production scenarios, depending compressor capacity C.
    So in my forecast table there are 3 columns, for A, B & C. I need a logic that looks at fixed value in column W, which is C, and picks up the right Scenario to return B once you enter A. I have attached a file that would give much clear overview on whets required.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Need Help on Lookup & Reference Function

    hi there. is column D really supposed to be 5.75 while W16:W24 is 5.8? if both are the same numbers, then this should work:
    =SUMIFS($C$12:$O$60,$B$12:$N$60,U12,$D$12:$P$60,W12)

    otherwise, provide a logic for us why should V16:V24 be picking scenario 1? is it because 5.8 is closest to 5.75?

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    07-30-2014
    Location
    Muscat
    MS-Off Ver
    window 2007
    Posts
    32

    Re: Need Help on Lookup & Reference Function

    Hi

    Indeed column D must excatly macth W16: W24. In W16:W24 I just typed the numbers manually for demo. Will try to apply your formular and see how it works, and indeed it worked. Thanks very much and well apprecoated

+ 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. Indirect Sheet reference with cell reference left function and text
    By teststrip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2015, 10:31 AM
  2. Value Lookup Function for non reference sheet values
    By Khaldon in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-13-2011, 03:19 AM
  3. Lookup/reference
    By zyugiohz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-22-2007, 04:30 PM
  4. Lookup & Reference function
    By Kris STL in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-01-2007, 06:23 PM
  5. IF Function: Lookup value needs to reference other worksheets
    By Danielle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-21-2005, 03:05 PM
  6. [SOLVED] lookup reference
    By Gary L Brown in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 02:05 PM
  7. Lookup function returning reference, not value
    By Caligula in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2005, 02:05 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