R
RUSS
I have a problem with determining if a unique serial number currently exists
in a spreadsheet.
I have set up a workbook where Sheet1 acts as a data entry point and
contains a macro associated with a button that takes the entered data and
transfers it to Sheet2 to the next available empty row thereby adding it to
what amounts to a database of information.
The problem I am having is, as stated above, determining if there is a
currently existing number matching the one which is about to be placed into
the "database."
I added a formula on Sheet1 to check for duplicates as follows:
=IF(COUNTIF(named_range, C8)>1, "STOP", " ")
Where "named_range" is the range of data on Sheet2 that is compared to the
soon to be entered data in cell C8 on Sheet1.
The formula works - if, as you can see, there is a duplicate entry already
in existance on Sheet2.
Can someone please help me with a formula that will work the way I need it
to?
in a spreadsheet.
I have set up a workbook where Sheet1 acts as a data entry point and
contains a macro associated with a button that takes the entered data and
transfers it to Sheet2 to the next available empty row thereby adding it to
what amounts to a database of information.
The problem I am having is, as stated above, determining if there is a
currently existing number matching the one which is about to be placed into
the "database."
I added a formula on Sheet1 to check for duplicates as follows:
=IF(COUNTIF(named_range, C8)>1, "STOP", " ")
Where "named_range" is the range of data on Sheet2 that is compared to the
soon to be entered data in cell C8 on Sheet1.
The formula works - if, as you can see, there is a duplicate entry already
in existance on Sheet2.
Can someone please help me with a formula that will work the way I need it
to?