electrichi01
New Member
- Joined
- Aug 10, 2009
- Messages
- 44
Hi folks
Looking for some help. Trying to return a value to a cell like such:
Cell A1- has a number- lets say 10
Cell A2- has a number- lets say 15
Cell B1- has a number- lets say 20
Cell C1- this is where I want to solve for the formula
Want to divide the B1 into A rows to come up with a number. We know 20 goes into 10- 2 times, so the answer would be 2. 15 goes into 20, 1.5 times.
What I want to achieve is the following:
1. When the A1 or A2 has a number that is = to or less than, I want to return 1 in cell C1. When A1 or A2 has a number that is larger than B1, I want to divide the number and if it is more than 1 (B1/A2), I want to round up to 2.
If B1 is 30, then I'd want to do the same thing- so, A1 would solve for 3 and so would A2 (even though its 2.5), and want to round up.
Thank you!
Looking for some help. Trying to return a value to a cell like such:
Cell A1- has a number- lets say 10
Cell A2- has a number- lets say 15
Cell B1- has a number- lets say 20
Cell C1- this is where I want to solve for the formula
Want to divide the B1 into A rows to come up with a number. We know 20 goes into 10- 2 times, so the answer would be 2. 15 goes into 20, 1.5 times.
What I want to achieve is the following:
1. When the A1 or A2 has a number that is = to or less than, I want to return 1 in cell C1. When A1 or A2 has a number that is larger than B1, I want to divide the number and if it is more than 1 (B1/A2), I want to round up to 2.
If B1 is 30, then I'd want to do the same thing- so, A1 would solve for 3 and so would A2 (even though its 2.5), and want to round up.
Thank you!