+ Reply to Thread
Results 1 to 5 of 5

Logical function combination

  1. #1
    Registered User
    Join Date
    05-31-2011
    Location
    Lare2
    MS-Off Ver
    Excel 2003
    Posts
    2

    Thumbs up Logical function combination

    Hi, good day everyone...

    I'm trying to build one spreadsheet with two workbooks.
    Right now my advance it's from 80%; but I'm stuck with the next formulas:

    I require to combine them.

    =IF(E28=VLOOKUP(E28,$U$2:$U$14,1,0),$D$28*VLOOKUP(E28,$U$2:$V$14,2,0),0)
    =IF(E28=VLOOKUP(E28,$U$15:$U$26,1,0),$D$28+VLOOKUP(E28,$U$15:$V$26,2,0)," ")

    so far so good this formulas work pretty good, but when I combine them i can't make them work.

    =IF(E28=VLOOKUP(E28,$U$2:$U$14,1,0),$D$28*VLOOKUP(E28,$U$2:$V$14,2,0),IF(E28=VLOOKUP(E28,$U$15:$U$26,1,0),$D$28+VLOOKUP(E28,$U$15:$V$26,2,0)," "))

    i had try several formulas; and the above one, that only works partially.
    Last edited by NBVC; 06-01-2011 at 07:38 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Logical function combination

    Try:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-31-2011
    Location
    Lare2
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Logical function combination

    Thanks, this formula works. that formula solve the issue.

  4. #4
    Registered User
    Join Date
    09-11-2012
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Logical function combination

    Hi,

    I am trying to lookup J3 to see if it is also in the VSN spreadsheet and if it is there, then pull it into the current spreadsheet. However, if it is not in the VSN spreadsheet then, the use the original value/word in J3.

    The logical function works if the item is in the VSN spreadsheet, but I get N/A# when it is not. I have formatted the columns as numbers even if they contain text.

    Can someone please help?

    =IF(J3=(VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,1,FALSE)),VLOOKUP(J3,'VSN with ID#s'!$A$1:$C$79,3,FALSE),J3)

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Logical function combination

    Joy_Joy,

    Welcome to the Forum, unfortunately:

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread. It makes sense to have a new thread for your question because a thread with numerous replies can be off putting & difficult to pick out relevant replies.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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