+ Reply to Thread
Results 1 to 13 of 13

vlookup formula (need to troubleshoot)

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    vlookup formula (need to troubleshoot)

    Hi guys, I want the Carwash income, encoded in the "Account details" sheet, to appear in the other sheets (according to its category - e, p, t, m).
    I have used a vlookup formula to lookup the category and have the amount appear on the sheet it needs to appear on, but somehow it skips to read lines which leads me to have inaccurate total balance.

    for example: In the "accounts detail" sheet, e2 is encode but for some reason it doesnt appear in e 17% sheet. There are other inconsistencies as well between the accounts detail sheet and other sheets.

    it would be really helpful if you can help troubleshoot.
    let me know if you need more clarity.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup formula (need to troubleshoot)

    why are you using the choose formula?
    when you just referring to the same specific cell?
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup formula (need to troubleshoot)

    from what i gather from your spreadsheet you are trying to get a list of items with the two codes in your legend
    ie in sheet E

    either E or I
    however the way you are trying to control it is by manually entering which row you want to include

    i propose a smarter solution by using a helper column with a cse (Ctrl+Shift+enter) formula

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

    i have put this into column I

    this formula will only give you the row number of rows that have E or I

    ps i only did sheet E17 and T13
    i did not do the other two
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-12-2014
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: vlookup formula (need to troubleshoot)

    Humdingaling ~ thanks for your help. It is the result I wanted. However, I have noticed that the information is limited to rows and when I try to enter more information in Accounts details sheet, it doesn't appear on the other sheets anymore because its not being read. How can we fix that? Can we eliminate putting a limit on the rows read?

    Another part that needs troubleshooting is the "Carwash Balance" column on E17%,T 13%, P 10%, and M 10% sheets.
    It has the same concept of filtering the data that appears on each sheet according to the category entered in Accounts details sheet.
    For example: Carwash Balance in E 17% sheet should only reflect the numbers 100, 500, and 600 because they are under category "E".

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup formula (need to troubleshoot)

    you need to extend the formula to match how many rows you have in your accounts sheet
    i have put comments on this revision to show you want i mean

    also linked % to cell

    have fixed your carwash balance as well

    so really any sheet can be changed by changing the two orange cells
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-12-2014
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: vlookup formula (need to troubleshoot)

    this is great! thanks heaps.
    i guess my last query is ~ How do i avoid same receipt number entered under account details receipt column?
    we will be hyperlinking the receipt number to the scanned receipt so the "receipt" column cells should not allow us a duplicate receipt number. this case is almost done

    i appreciate your help.

  7. #7
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup formula (need to troubleshoot)

    my suggestion
    keep conditional format on the column for duplicates to highlight if duplicates are entered
    this is much easier to control/manage then having to do something which physically stops users from entering same receipt number

    http://office.microsoft.com/en-au/ex...102809491.aspx

    basically highlight column B
    click on conditional format>duplicate values
    choose what colour/etc you want show and bobs your uncle

  8. #8
    Registered User
    Join Date
    08-12-2014
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: vlookup formula (need to troubleshoot)

    thanks heaps!

  9. #9
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup formula (need to troubleshoot)

    not a problem

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Cheers
    Hum

  10. #10
    Registered User
    Join Date
    08-12-2014
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: vlookup formula (need to troubleshoot)

    I have one more question for you. I realized that there is a problem with the carwash section. Everything works great currently, but we have no way to “use” the money from the carwashes on our sheet breakdown.

    Example: carwash for category e = $500 – this should slot into the current automated details on tab “E 17%” as follows:

    Details Receipt Income Expense Balance
    Carwash c1 500 0 +500 to existing

    So, it could look like: (as attached)

    I hope this makes sense… so the carwash would be entered into “Account Details” as it currently is, but the formatting needs to change so that it slots into the appropriate tab based on the “category” (column i) it is entered under in “Account Details”.
    Attached Images Attached Images
    Last edited by mountaintop; 08-26-2014 at 04:28 AM.

  11. #11
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup formula (need to troubleshoot)

    Q:
    why is carwash seperated like it is?

    i thought carwash was completely seperated due to the way your spreadsheet is laidout

    also is this a new issue as your original file did not have way of working for carwash

    can you not just insert your first line to be carwash balance?
    there is no time stamping so a single line will take care of your total
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    08-12-2014
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    6

    Re: vlookup formula (need to troubleshoot)

    hum, its not reading lines after row7 for the carwash on accounts details.
    i've tried to increase the parameter but it still doesnt work.
    Carwash total balance that you did is perfect, the only thing is that all the new carwash entries need to appear on designated sheets. Can we increase the parameter for this to 20? i've attached the sheet i've adjusted a bit so you can refer to the attached. cheers!
    Attached Files Attached Files

  13. #13
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: vlookup formula (need to troubleshoot)

    formula in g5 need to be extended
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    was unsure how much area you required so only put 7
    try keep as small as possible as to keep performance of sheet good

    i have revised your sheet slightly to use named ranges to make it easier to update
    Carwash ='Account Details'!$I$1:$I$8
    Carwash_Income = ='Account Details'!$J$1:$J$8

    started doing your helper column
    run out of time
    you will have to figure it out yourself
    Attached Files Attached Files

+ 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. Troubleshoot my formula that I can't figure out what is wrong with
    By smockpuv in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-15-2013, 10:59 AM
  2. help troubleshoot an INDEX/MATCH formula
    By dcgrove in forum Excel General
    Replies: 8
    Last Post: 08-25-2010, 05:35 PM
  3. troubleshoot Nested IF
    By onin111 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-06-2008, 01:23 AM
  4. Replies: 1
    Last Post: 11-22-2005, 03:10 PM
  5. [SOLVED] troubleshoot absolute value
    By Sus in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-27-2005, 01:05 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