+ Reply to Thread
Results 1 to 12 of 12

Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

  1. #1
    Registered User
    Join Date
    12-28-2015
    Location
    Florida, USA
    MS-Off Ver
    10
    Posts
    36

    Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    I have profit/loss spreadsheets I am using for my business and would like for the data from my bank account (export to CSV, then excel) to automatically import the data into each cell of the profit loss sheet, based on keywords from the bank statement. The bank statement will be on a tab that is next to the Profit/Loss spreadsheet. Currently, I have to do this manually, and it takes up a lot of my time.

    Example: On my workbook, I would like the data from the Bank Statement work sheet for any line item that says "DEPOSIT" to be formulated to automatically be entered into the "Total Revenue" Cell of the Profit/Loss worksheet, as well as, "AMERICAN EXPRESS SETTLEMENT" to be entered into the "Total Revenue" cell as well.

    Thanks!

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,617

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Best Regards,

    Kaper

  3. #3
    Registered User
    Join Date
    12-28-2015
    Location
    Florida, USA
    MS-Off Ver
    10
    Posts
    36

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    Thanks for the response! See attached
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    One way:

    =SUMPRODUCT((('Valley Bank '!$C$2:$C$151="Deposit")+(ISNUMBER(SEARCH("AMERICAN EXPRESS SETTLEMENT",'Valley Bank '!$C$2:$C$151))))*'Valley Bank '!$D$2:$D$151)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    12-28-2015
    Location
    Florida, USA
    MS-Off Ver
    10
    Posts
    36

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    Wow thanks! Ok I enetered the formula and added "MERCHANT BNKCD DEPOSIT" as well, and it isnt working properly. Here is the formula
    =SUMPRODUCT(((('Valley Bank '!$C$2:$C$151="Deposit")+(ISNUMBER(SEARCH("AMERICAN EXPRESS SETTLEMENT",'Valley Bank '!$C$2:$C$151)+(ISNUMBER(SEARCH("MERCHANT BNKCD DEPOSIT",'Valley Bank '!$C$2:$C$151))))*'Valley Bank '!$D$2:$D$151))))

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    So, do you want ANYTHING with the word deposit in it? Your request was ambiguous, so I chose to include only "Deposit", as that is what you'd mentioned.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    If the answer above, is YES, use this:

    =SUMPRODUCT((ISNUMBER(SEARCH({"*Deposit*","AMERICAN EXPRESS SETTLEMENT*"},'Valley Bank '!$C$2:$C$151)))*'Valley Bank '!$D$2:$D$151)

  8. #8
    Registered User
    Join Date
    12-28-2015
    Location
    Florida, USA
    MS-Off Ver
    10
    Posts
    36

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    Sorry, Yes, or ANY keyword in the column, as i will assign the formula to each different line item

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    Post 7 should do that OK.

  10. #10
    Registered User
    Join Date
    12-28-2015
    Location
    Florida, USA
    MS-Off Ver
    10
    Posts
    36

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    You are awesome. This will be soo much easier...Thanks, Glenn!

  11. #11
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    SUMPRODUCT is sooo useful. It can't make dinner, though...

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  12. #12
    Registered User
    Join Date
    12-28-2015
    Location
    Florida, USA
    MS-Off Ver
    10
    Posts
    36

    Re: Hello I am STUCK and I need help with IF and VLOOKUP formulas! Need Help!

    Glenn, I have one more question that may be more complex. As I am formulating the data from the P/L sheet to pull from the bank sheet, is there a formula that can indicate (via coloring the cell, say yellow on the bank worksheet) each cell that ISNT goverened by the formula?

    Example: If one month, i do a one time purchase (say a gift card at the end of the quarter for the best staff member) that comes up on my bank statement, that ISNT auto pulling into the P/L via the formula, it would then be filled yellow, similar to conditional formatting? Is this possible? Thx!!

+ 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. Stuck with copying formulas that include different worksheets.
    By debblsih in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-23-2017, 05:09 AM
  2. [SOLVED] Auto Dragging down formulas - Stuck totaly
    By pipsmultan in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-06-2017, 10:07 AM
  3. Replies: 1
    Last Post: 06-05-2015, 09:41 AM
  4. [SOLVED] Stuck Again! Getting Formulas from Text
    By Zipmeister in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2014, 08:41 AM
  5. Please Help! Stuck on Formulas for calculating Minimum Wage Details
    By natmorgan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-28-2013, 05:41 AM
  6. Replies: 4
    Last Post: 01-22-2013, 03:13 AM
  7. Hi Kiwiscotsman here. I am ok on excel but get stuck on long formulas and code.
    By kiwiscotsman in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-17-2012, 04:48 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