+ Reply to Thread
Results 1 to 7 of 7

Complicated Look Up in an untidy file with calcualtions

  1. #1
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Complicated Look Up in an untidy file with calcualtions

    Hello friends,

    please refer the file attached. the file is untidy. i need to look up values based on multiple conditions and insert simple calculations within look up formula.


    Thanks heaps
    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: Complicated Look Up in an untidy file with calcualtions

    hi Joseph, hope you are doing well too. here's the formula for L23:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    i broke up the formula a little bit. hope that helps you. it's basically a repeat with different range to sum up. not sure if you want to ROUND or ROUNDDOWN to get 179 exactly. it would look like:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    for M23:
    =SUMIFS($I$10:$I$433,$A$10:$A$433,"*"&$K23,$B$10:$B$433,M$21&"*")

    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
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: Complicated Look Up in an untidy file with calcualtions

    Use this formula for the L23

    Please Login or Register  to view this content.
    which will give you the answer of 179.


    Here I am rounding down to 0 digit.


    ________________________________________________________________________________

    if you feel some one has helped please add to reputation

  4. #4
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Complicated Look Up in an untidy file with calcualtions

    Hi Benishriyo, i'm getting NAME# error, may be because i am using Excel 2003. What changes should i make to make the formula compatible to 2003 ?

  5. #5
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Complicated Look Up in an untidy file with calcualtions

    Hi Benishriyo, I am attaching the file again.
    Attached Files Attached Files

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

    Re: Complicated Look Up in an untidy file with calcualtions

    sorry about that. forgot about your version. SUMIFS only available in Excel 2007 & above. try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or this array formula. not sure which would be faster for you.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    press CTRL + SHIFT + ENTER to confirm array formulas

    same thing for rounding. just wrap it around the formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    for M23:
    =SUMPRODUCT($I$10:$I$433,ISNUMBER(SEARCH($K23,$A$10:$A$433))*(LEFT($B$10:$B$433,LEN(M$21))=M$21))

  7. #7
    Forum Contributor
    Join Date
    06-26-2012
    Location
    UAE
    MS-Off Ver
    Excel 2003
    Posts
    274

    Re: Complicated Look Up in an untidy file with calcualtions

    This is excellent. Hats off to you benishriyo. I wish you I had your skills to build formula up this quick.

+ 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. [SOLVED] (QUITE) Complicated Syntax involving IF and REPEAT (Making a money budget excel file)
    By alexbui.2539 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2013, 10:04 PM
  2. Time Calcualtions and #VALUE
    By espyder in forum Excel General
    Replies: 1
    Last Post: 06-11-2012, 10:01 AM
  3. Payroll calcualtions - nested IF?
    By bmz in forum Excel General
    Replies: 5
    Last Post: 02-15-2010, 01:08 PM
  4. Complicated lookup - file attached
    By Tnesper in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2008, 02:18 PM
  5. Using displayed rounded numbers in subsequent calcualtions
    By 01mike in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 11-15-2006, 03:30 AM

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