+ Reply to Thread
Results 1 to 7 of 7

Formulas using vlook-up AND if function

Hybrid View

  1. #1
    Registered User
    Join Date
    04-10-2014
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    25

    Formulas using vlook-up AND if function

    To make it easier I typed the instructions right on to the excel spreadsheet.
    Take a look and any help would be greatly appreciated

    Installer Wages Redone.xlsx

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Formulas using vlook-up AND if function

    i have added a couple of columns to show how to use the vlookup

    =IF(G2="no",0,VLOOKUP(C2,Tables!A44:G53,3,TRUE))
    this will calculate the first price
    next
    =IF(I2="no",0,VLOOKUP(C2,Tables!A44:G53,4,TRUE))
    for next price

    appears it just uses that one table - so should be easy to add the other lookups

    bit pushed for time - so can do the whole thing , maybe tomorrow - if you dont solve - let me know

    I would tend to use helper columns and add all these lookups there and then you can total - and at least debug - rather than have 1 big formula to do all the lookups
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Formulas using vlook-up AND if function

    In Windows!F2, try this formula:

    =D2*VLOOKUP(C2,Table7,2,1)*IF(E2="No Capping",0.85,1)
    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    04-10-2014
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Formulas using vlook-up AND if function

    Thank you! Now i need to figure out a formula at the end for the yes & no columns. I need it to be one formula not using different columns and adding them up. unless i can hide them i guess

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Formulas using vlook-up AND if function

    then you would do this

    =IF(G2="no",0,VLOOKUP(C2,Tables!A44:G53,3,TRUE)) + IF(H2="no",0,VLOOKUP(C2,Tables!A44:G53,4,TRUE)) + etc

  6. #6
    Registered User
    Join Date
    04-10-2014
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Formulas using vlook-up AND if function

    thanks so much!
    Last edited by jessbeza; 04-24-2014 at 01:51 PM.

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

    Re: Formulas using vlook-up AND if function

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    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)

Similar Threads

  1. Unsure of proper SUM IF formulas and Multiple Vlook Ups
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 07-24-2013, 01:49 AM
  2. Using If and Vlook function with VBA
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-22-2013, 02:47 PM
  3. Help on vlook up multiples formulas
    By woshiitcy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-28-2013, 12:43 PM
  4. [SOLVED] Vlook Up Function
    By potsie via OfficeKB.com in forum Excel General
    Replies: 1
    Last Post: 04-23-2006, 10:58 PM
  5. If Function containing VLook up
    By Michele in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-06-2005, 05:09 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