Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invoice product code gone awry

Status
Not open for further replies.

baconandeggs

Programmer
Dec 31, 2000
21
GB
Hello all

Especially Dreamboat

I have a .xls file wih an invoice which accepts the product codes (from the underlying worksheet), and fills in the next line on the invioce with the whole product name, but for some reason, it now only seems to pick up the first similar product

Any help is greatly appreciated


Jim
 
Jim, sounds like the formulas got re/over written. If you want to email it back, feel free. Otherwise, you can try this:

I'm assuming I put a bunch of IF's and stuff in there, but the part we're concerned about is the vlookup part. If it says, for instance:

IF.....vlookup(cell,range,3)

or if it says:

IF.....vlookup(cell,range,3,1)

Change it to:

IF.....vlookup(cell,range,3,0)

Either that, or your products are out of alphabetical order, and you may need just to sort them again. I don't remember all the specifics of your worksheet.

 
Dreamboat

Thanks for your fast response, will this code only work in alphabetic order, as opposed to numeric or alpha numeric

Bestregards

jim
 
Thanks for your help Dreamboat, I had difficulty E-mailing you twice, but I donT want to bother you too much, I can get by with what you hacve shown me, I really want to make the product codes numerical so with the long weekend upon us I will have a go

best regards


jim
 
Dreamboat

Is there a program that will assign a sequential number to an invoice form


Best regards

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top