G
Greg Incongito
Hi group,
here is my setup
I get five input rows in columns A and B. In column B,
there is a total layer, where A may be equal to total in B
or may have increments, such that if A1 has 500, A2 –
1000, A3 – 500, B1 through B2 will all contain 2000 (sum
of A1-A3). The problem is that in column C I need to show
the layer number based only on the relationship between A
and B.
Here is what I need in C for the following examples:
A B C
100 100 1
300 300 2
500 2000 3
1000 2000 3
500 2000 3
A B C
100 500 1
100 500 1
100 500 1
100 500 1
100 500 1
A B C
500 1000 1
500 1000 1
100 100 2
250 500 3
250 500 3
Hope I explained it clearly. I can use nested Ifs, of
course, but I am sure there should be a more elegant
solution.
Appreciate your help in tackling this problem.
Regards,
Greg
here is my setup
I get five input rows in columns A and B. In column B,
there is a total layer, where A may be equal to total in B
or may have increments, such that if A1 has 500, A2 –
1000, A3 – 500, B1 through B2 will all contain 2000 (sum
of A1-A3). The problem is that in column C I need to show
the layer number based only on the relationship between A
and B.
Here is what I need in C for the following examples:
A B C
100 100 1
300 300 2
500 2000 3
1000 2000 3
500 2000 3
A B C
100 500 1
100 500 1
100 500 1
100 500 1
100 500 1
A B C
500 1000 1
500 1000 1
100 100 2
250 500 3
250 500 3
Hope I explained it clearly. I can use nested Ifs, of
course, but I am sure there should be a more elegant
solution.
Appreciate your help in tackling this problem.
Regards,
Greg