griffindor2020
New Member
- Joined
- Jun 6, 2020
- Messages
- 20
- Office Version
- 2016
- Platform
- MacOS
Hello,
I was wondering if I could tell excel to insert a value (1 or 2) along all of column B, based off the values that are in column A.
For example
If A = 1 or 3 or 5 or 6 or etc... Then values in column be should be 1.
and
If A = 2 or 4 or 7 etc... Then values in column B should be 2.
Is there a way to code this ?
I have approximately 100 000 rows of data. I hope someone will be able to help me save some time
Thank you
I was wondering if I could tell excel to insert a value (1 or 2) along all of column B, based off the values that are in column A.
For example
If A = 1 or 3 or 5 or 6 or etc... Then values in column be should be 1.
and
If A = 2 or 4 or 7 etc... Then values in column B should be 2.
Is there a way to code this ?
I have approximately 100 000 rows of data. I hope someone will be able to help me save some time

Thank you
