Dan Wilson
Well-known Member
- Joined
- Feb 5, 2006
- Messages
- 536
- Office Version
- 365
- Platform
- Windows
Good day I am using Excel out of Office 365 on Windows10. I have a worksheet that tracks motorcycle rides. The setup is as follows:
Column A - date of a ride. formatted as date.
Column B - ride number. formatted as number with no decimal points. can go as high as three digits.
Column C - ride status. formatted as text.
What I would like to do is have a formula in Column B that examines Column C. If the data in Column C is "D" or "M" or "N", then the number in Column B is to be increased by 1. If the data in Column C is "O" or "C" or "U" then Column B is to be left either empty or have "n/a" inserted. I know how to extrapolate the number in Column B, but not with a blank or "n/a" between the sequence of numbers.
Any help is appreciated.
Thanks, Danno...
Column A - date of a ride. formatted as date.
Column B - ride number. formatted as number with no decimal points. can go as high as three digits.
Column C - ride status. formatted as text.
What I would like to do is have a formula in Column B that examines Column C. If the data in Column C is "D" or "M" or "N", then the number in Column B is to be increased by 1. If the data in Column C is "O" or "C" or "U" then Column B is to be left either empty or have "n/a" inserted. I know how to extrapolate the number in Column B, but not with a blank or "n/a" between the sequence of numbers.
Any help is appreciated.
Thanks, Danno...