+ Reply to Thread
Results 1 to 7 of 7

Need help with complex formula

  1. #1
    Registered User
    Join Date
    06-17-2019
    Location
    Georgia, Tbilisi
    MS-Off Ver
    2016
    Posts
    9

    Question Need help with complex formula

    Hello All,

    I need help with formula.

    Here is the example what I want to achieve

    =IF A2=Sheet5!C4 and D2="M" than F2*Sheet5!E4
    But I need insert more conditions. Like, if D2 will be S (instead of M) than F2*Sheet5!E6 and if D2 will be N than F2*Sheet5!E7 and etc.
    Attached Files Attached Files
    Last edited by levaxuco; 05-11-2021 at 08:58 AM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Need help with complex formula

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-17-2019
    Location
    Georgia, Tbilisi
    MS-Off Ver
    2016
    Posts
    9

    Re: Need help with complex formula

    Thanks a lot!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Need help with complex formula

    You're welcome & thanks for the feedback.

  5. #5
    Registered User
    Join Date
    06-17-2019
    Location
    Georgia, Tbilisi
    MS-Off Ver
    2016
    Posts
    9

    Re: Need help with complex formula

    just one more thing... on the sheet2 there are two different ID's. According to them I need to calculate different %.
    For example. if A2=Sheet2!C10 (and C10 has different ID) it should make different calculation.

    I have updated attached file.

    Thanks in advanced.

    You really helping me

  6. #6
    Registered User
    Join Date
    06-17-2019
    Location
    Georgia, Tbilisi
    MS-Off Ver
    2016
    Posts
    9

    Re: Need help with complex formula

    in this case this should work right? => =IF(A2=Sheet2!C4,INDEX(Sheet2!E4:E7,MATCH(D2,Sheet2!D4:D7,0))*F2,IF(A2=Sheet2!C10,INDEX(Sheet2!E10:E13,MATCH(D2,Sheet2!D10:D13,0))*F2,))

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Need help with complex formula

    Looks good, have you tried it?

+ 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. Complex What If Formula
    By lhp2019 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-13-2019, 12:02 AM
  2. [SOLVED] Complex formula getting moer complex
    By Trebor777 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-02-2017, 01:39 PM
  3. too complex formula
    By Bab1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-08-2014, 08:29 AM
  4. [SOLVED] Use an existing cell formula for creating a new more complex formula
    By dubcap01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 07:41 AM
  5. Replies: 4
    Last Post: 02-03-2014, 12:47 AM
  6. Complex IF Formula
    By elanum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2013, 09:16 AM
  7. Need help with complex formula!
    By bcoluc1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-20-2013, 02:07 AM

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