adrienne0914
Board Regular
- Joined
- Mar 22, 2018
- Messages
- 73
- Office Version
- 365
- Platform
- Windows
Hi all,
I'm trying to group data based on volume. I'm grouping as follows:
It looks like this:
[TABLE="width: 600"]
<tbody>[TR]
[TD]Company[/TD]
[TD="align: center"]FY 2017[/TD]
[TD="align: center"]YTD 2017[/TD]
[TD="align: center"]YTD 2018[/TD]
[TD="align: center"]Group[/TD]
[/TR]
[TR]
[TD]ABC Company[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]E[/TD]
[/TR]
[TR]
[TD]DEF Company[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]F[/TD]
[/TR]
[TR]
[TD]GHI Company[/TD]
[TD="align: center"]2,489[/TD]
[TD="align: center"]1,136[/TD]
[TD="align: center"]945[/TD]
[TD="align: center"]A[/TD]
[/TR]
[TR]
[TD]JKL Company[/TD]
[TD="align: center"]1,025[/TD]
[TD="align: center"]250[/TD]
[TD="align: center"]485[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]VH1 Company[/TD]
[TD="align: center"]536[/TD]
[TD="align: center"]169[/TD]
[TD="align: center"]101[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]CBS Company[/TD]
[TD="align: center"]155[/TD]
[TD="align: center"]75[/TD]
[TD="align: center"]77[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]DEC Company[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]F[/TD]
[/TR]
</tbody>[/TABLE]
My formula is:
=IF(B2>2000,"A",IF(B2>=1000,"B",IF(B2>=500,"C",IF(B2>=100,"D",IF(B2>0,"E", IF(B2=0,"F",IF(D2=0,"F")))))))
I'm trying to weed out the ones with no activity in 2017 or 2018, making them group F. The way my formula reads now, it assigns group F if B or D equal 0. I don't want DEC Company to be F because there was an increase in activity from 2017 to 2018.
I want the formula to assign group F if B AND D equal 0. Not sure how to insert an AND formula.
Thanks in advance!
I'm trying to group data based on volume. I'm grouping as follows:
A: >2000
B: 1000-2000
C: 500-999
D: 100-499
E: 1-99
B: 1000-2000
C: 500-999
D: 100-499
E: 1-99
It looks like this:
[TABLE="width: 600"]
<tbody>[TR]
[TD]Company[/TD]
[TD="align: center"]FY 2017[/TD]
[TD="align: center"]YTD 2017[/TD]
[TD="align: center"]YTD 2018[/TD]
[TD="align: center"]Group[/TD]
[/TR]
[TR]
[TD]ABC Company[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]E[/TD]
[/TR]
[TR]
[TD]DEF Company[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]F[/TD]
[/TR]
[TR]
[TD]GHI Company[/TD]
[TD="align: center"]2,489[/TD]
[TD="align: center"]1,136[/TD]
[TD="align: center"]945[/TD]
[TD="align: center"]A[/TD]
[/TR]
[TR]
[TD]JKL Company[/TD]
[TD="align: center"]1,025[/TD]
[TD="align: center"]250[/TD]
[TD="align: center"]485[/TD]
[TD="align: center"]B[/TD]
[/TR]
[TR]
[TD]VH1 Company[/TD]
[TD="align: center"]536[/TD]
[TD="align: center"]169[/TD]
[TD="align: center"]101[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]CBS Company[/TD]
[TD="align: center"]155[/TD]
[TD="align: center"]75[/TD]
[TD="align: center"]77[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]DEC Company[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]F[/TD]
[/TR]
</tbody>[/TABLE]
My formula is:
=IF(B2>2000,"A",IF(B2>=1000,"B",IF(B2>=500,"C",IF(B2>=100,"D",IF(B2>0,"E", IF(B2=0,"F",IF(D2=0,"F")))))))
I'm trying to weed out the ones with no activity in 2017 or 2018, making them group F. The way my formula reads now, it assigns group F if B or D equal 0. I don't want DEC Company to be F because there was an increase in activity from 2017 to 2018.
I want the formula to assign group F if B AND D equal 0. Not sure how to insert an AND formula.
Thanks in advance!