+ Reply to Thread
Results 1 to 4 of 4

Shortened IF Formula

Hybrid View

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    Craiova, Romania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Shortened IF Formula

    Hello,

    I need help making a shorter formula of this one:

    =IF(C3="Presiune Nominala";Values!E3;IF(C3="Presiune Mare";Values!F3;IF(C3="Presiune Mica";Values!G3;IF(C3="Temperatura Nominala";Values!B3;IF(C3="Temperatura Mare";Values!C3;IF(C3="Temperatura Mica";Values!D3;IF(C3="Debit Normal";Values!H3;IF(C3="Debit Mare";Values!I3;IF(C3="Debit Mic";Values!J3;0)))))))))


    Values! represents a different page.

    I am a beginner in excel..

    Thanks

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Shortened Formula

    Hi DeamonX,

    welcome to the forum.
    Try using below formula:-
    Formula: copy to clipboard
    =INDIRECT(VLOOKUP(C1,$H$1:$I$9,2,0))


    where H1:I9 would contain a table showing different values of C3 and which sheet's value to be picked, if matched, see the below attachment to understand better

    shortened formula.xlsx

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    04-23-2013
    Location
    Craiova, Romania
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Shortened IF Formula

    It worked, thanks.

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Shortened IF Formula

    Great

    Please mark this thread as [SOLVED].. Thanks.


    Regards,
    DILIPandey
    <click on below * if this helps>

+ 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