+ Reply to Thread
Results 1 to 14 of 14

receipt error

  1. #1
    Registered User
    Join Date
    11-07-2007
    Posts
    19

    receipt error

    cud anyone fix my receipt up, i want the values to come up without saying na and add up the total with only the values selected

    problem = error comes up when values are entered, total only works when all the fields are filled in, i want it to work without all the fields having to be filled in

    http://aycu27.webshots.com/image/337...7474728_rs.jpg


    download the excel file to try fix
    Attached Files Attached Files
    Last edited by helpmex; 11-08-2007 at 12:23 PM.

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi Helpmex

    Do it like this

    =IF(A21="","",VLOOKUP(B21,Price, 2, "false"))

    Ed

  3. #3
    pinmaster
    Guest
    Hi,

    Here's one way:
    in E39

    Please Login or Register  to view this content.
    but a better solution would be to get rid of the #N/A errors completly, replace the formulas in C20 and E20 with the ones below.

    in C20:
    Please Login or Register  to view this content.
    in E20:
    Please Login or Register  to view this content.
    HTH
    Jean-Guy

  4. #4
    Registered User
    Join Date
    11-07-2007
    Posts
    19
    wer do i paste it, coz it went wrong when i did it before

    edit : doesnt affect it, still says na on subtotal

  5. #5
    Registered User
    Join Date
    11-07-2007
    Posts
    19
    but the subtotal still says na

    and that forumula hasnt done nothing

    i have uploaded a new excel doc, please use that one
    Last edited by helpmex; 11-08-2007 at 12:20 PM.

  6. #6
    pinmaster
    Guest
    Hi,

    Just a note, in your VLOOKKUP formula the FALSE statement should not be inside quotes and can also be replaced by a 0 for FALSE or 1 for TRUE.

    Cheers!
    Jean-Guy

  7. #7
    Registered User
    Join Date
    11-07-2007
    Posts
    19
    im crap at excel, all i want is my sub total to appear when there is a total, it only appears when all fields are completed

    anyone tell me the forumulas for my new doc i posted

  8. #8
    pinmaster
    Guest
    Hi,

    See the first formula I gave in my first post, just copy it and paste it in cell E39

    Jean-Guy

  9. #9
    Registered User
    Join Date
    11-07-2007
    Posts
    19
    i have changed the excel doc, look at it and give the new forumula

  10. #10
    pinmaster
    Guest
    Hi,

    in D39 put:

    =SUMIF(D20:D37,"<>#N/A",D20:D37)

    in D40 put:

    =D39*0.1

    in D41 put:

    =D39-D40

    in you want to get rid of the #N/A errors then in C20 put:

    =IF(A20="","",VLOOKUP(B20,Price, 2, 0))
    and copy down to C37

    in D20 put:

    =IF(A20="","",(A20*C20))
    and copy down to D37

    all the formula says is that if A20 is empty then do nothing, else calculate!

    HTH
    Jean-Guy

  11. #11
    Registered User
    Join Date
    11-07-2007
    Posts
    19
    THANK YOU

    WORKS PERFECT Xd

  12. #12
    pinmaster
    Guest
    You're Welcome!

    Regards!
    Jean-Guy

  13. #13
    Forum Contributor
    Join Date
    08-10-2006
    Posts
    723
    HI,

    IN C20 PUT

    =IF(B20="","",VLOOKUP(B20,Price,2))

    IN D20 PUT

    =IF(B20<="","",(A20*C20))

    THEN COPY THESE FORMULARS DOWN ALL THE ROWS IN COLUMN C AND D

    STEVE

  14. #14
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264

    A senior moment.......

    Sorry,

    I really can't believe that I put

    =IF(A21="","",VLOOKUP(B21,Price, 2, "false"))

    True and false NEVER have speech marks around them.

    Ed

+ 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