HI. I need a code to change cell value when year starts. Its for my invoice number. For example: for the year 2012 I start with invoice number 1 and i'm making invoices 2,3,4..., but when the year ends I want the number of the invoice to start from 1 for the next year. Any ideas?
Thanks.
Update a cell when year ends
-
-
-
Re: Update a cell when year ends
You could do it with a formula. This is obviously a very simple, quick example...but it could be modified for about anything.
-
Re: Update a cell when year ends
JPROFFER thanks for the response but I just cant understand what to do with this formula. Could you please explain it to me.
-
Re: Update a cell when year ends
The example I gave was just a quick way to make a list. Instead of more guessing, maybe post your workbook so I can see how it's set up
-
Re: Update a cell when year ends
forum.ozgrid.com/index.php?attachment/44897/ here's the example. So in my invoice list i have all invoice so far. the invoice number is generated by a formula. so the problem is how to make the invoice number in sheet invoice reset to 1 when the year changes.
-
-
Re: Update a cell when year ends
forum.ozgrid.com/index.php?attachment/44898/
I've made a few changes, but I'm still not sure if it's going to help you.
I made column F in invoice list to create numbers automatically based on the date in column E. Then column C takes the same number as column F and the invoice number on the "invoice" finds the last number in column C and adds 1 to it.
Let me know if that's even close, or if I'm way off...I'll try something else
-
Re: Update a cell when year ends
Hmm. Very interesting! Thanks for the help. I'll try to adapt this to my original workbook since my original workbook is more complex than the example. I'll write here if I need any help, but I think this will do the job. THANKS A LOT MAN!
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!