I have been trying to get a countif statement to work, to no avail, and am hoping to get some assistance from some more code oriented folks. =)
Here's my dillema:
I track prescription faxes for my company. ie: We fax them to doctors, they sign them and fax them back. Each prescription (RX) has a barcode on it which our proprietary software uses to check errors / track said RX's. I intend to use those barcodes to track my faxes in Excel.
Column A is the "Outstanding RX" column; Column B will be the "Received" column. This is simple enough.
Rx's have 9 digit number ID's from the barcodes. (Side note.)
_____________________
Column A | Column B |
---------------------
1 | 2 |
---------------------
4 | 3 |
---------------------
7 | 4 |
---------------------
So what I'm trying to do is something similar to the [highlight]{=IF(COUNTIF($A$1:$A$10,B1)>0,B1,"")}[/highlight] code found on Such that in the above example, 4 would be deleted from Column A, and the cells shifted up accordingly.
But I must be doing something wrong, basicly I want to be able to scan an RX number into column B, and have Excel remove the duplicate number in Column A, so it keeps a running tally of what RX's are outstanding still. This would make my life a lot easier, but trying to make it work is making life a lot harder. =P
Any help anyone can offer would be greatly appreciated!
Thanks for your time,
Eric
Here's my dillema:
I track prescription faxes for my company. ie: We fax them to doctors, they sign them and fax them back. Each prescription (RX) has a barcode on it which our proprietary software uses to check errors / track said RX's. I intend to use those barcodes to track my faxes in Excel.
Column A is the "Outstanding RX" column; Column B will be the "Received" column. This is simple enough.
Rx's have 9 digit number ID's from the barcodes. (Side note.)
_____________________
Column A | Column B |
---------------------
1 | 2 |
---------------------
4 | 3 |
---------------------
7 | 4 |
---------------------
So what I'm trying to do is something similar to the [highlight]{=IF(COUNTIF($A$1:$A$10,B1)>0,B1,"")}[/highlight] code found on Such that in the above example, 4 would be deleted from Column A, and the cells shifted up accordingly.
But I must be doing something wrong, basicly I want to be able to scan an RX number into column B, and have Excel remove the duplicate number in Column A, so it keeps a running tally of what RX's are outstanding still. This would make my life a lot easier, but trying to make it work is making life a lot harder. =P
Any help anyone can offer would be greatly appreciated!
Thanks for your time,
Eric