+ Reply to Thread
Results 1 to 14 of 14

receipt error

Hybrid View

  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
    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

  4. #4
    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.

  5. #5
    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

  6. #6
    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

  7. #7
    pinmaster
    Guest
    Hi,

    Here's one way:
    in E39

    =SUMIF(E20:E37,"<>#N/A",E20:E37)
    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:
    =IF(A20="","",VLOOKUP(B20,Price, 2, 0))
    in E20:
    =IF(A20="","",(A20*C20)-D20)
    HTH
    Jean-Guy

+ 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