ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how can i define data by another (https://www.excelbanter.com/excel-discussion-misc-queries/106181-how-can-i-define-data-another.html)

rasha

how can i define data by another
 
hello, please i want to know how can i set a categories for example to
another data example;
i want when to write red in a cell in a column the number 1 appears
automatically in another column and when to write yellow number 2 apears
....etc
thank you

Bob Phillips

how can i define data by another
 
=IF(A1="red",1,IF(A1="yellow",2, etc.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"rasha" wrote in message
...
hello, please i want to know how can i set a categories for example to
another data example;
i want when to write red in a cell in a column the number 1 appears
automatically in another column and when to write yellow number 2 apears
...etc
thank you





All times are GMT +1. The time now is 05:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com