DaveHappyNorm
New Member
- Joined
- Jul 22, 2018
- Messages
- 15
Hi All
I have a problem which I was hoping someone could help me with.
I want to check if any part a number lies within another number.
For example lets say I had the variables:-
A = 48
B = 51
C = 50
D = 53
In this case I want to check if any numbers between C (50) through to D (53) fits within the range of A (48) through to B (51) - in this case the answer would be Yes because 50 and 51 would fit between A and B.
I hope this makes sense.
Can anyone help?
Thank you.
BTW I am using Excel 2010.
Any VBA code would be greatly appreciated.
I have a problem which I was hoping someone could help me with.
I want to check if any part a number lies within another number.
For example lets say I had the variables:-
A = 48
B = 51
C = 50
D = 53
In this case I want to check if any numbers between C (50) through to D (53) fits within the range of A (48) through to B (51) - in this case the answer would be Yes because 50 and 51 would fit between A and B.
I hope this makes sense.
Can anyone help?
Thank you.
BTW I am using Excel 2010.
Any VBA code would be greatly appreciated.