EXCEL
I try to figure out HOW to add for a range of cells a validation for HEX-decimal input.
DATA VALIDATION >> CUSTOM >> For CELL E16, it works fine like this
=IF(AND(LEN(E16)<=2;ISNUMBER(HEX2DEC(E16)));TRUE;FALSE)
So to reference to the cell self can be done as following (use CHAR(64 + -> 65 is A and COLUMN() *gives a number A -> 1 *
=(CONCATENATE(CHAR(64+COLUMN());ROW()))
So I thought
=IF(AND(LEN(INDIRECT((CONCATENATE(CHAR(64+COLUMN());ROW()))))<=2;ISNUMBER(HEX2DEC(INDIRECT((CONCATENATE(CHAR(64+COLUMN());ROW()))))));TRUE;FALSE)
Has somebody an idea to make it easy to do it for a big range ...
Thanks
Kris
You have the answer already:
The formula will auto-adjust over the range of pasted cells.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.