Jason Wier
Member
Members
Forum Posts: 23
Member Since:
September 14, 2021
September 14, 2021
Offline
I have a column that contains numbers. I want to add a new column that groups the first column into specific "buckets".
Bucket grouping: 1-15, 16-30, 31-45,46-60, >60.
Note: The column also contains numbers less than zero. I don not want to includes these in my buckets.
Sample excel file attached.
Thank you.
Philip Treacy
Admin
Forum Posts: 1614
Member Since:
October 5, 2010
October 5, 2010
Online
Hi Jason,
See attached file for solution using this code
if [#"Difference in Days - Paid Date vs Last Scan Date"] >= 1 and [#"Difference in Days - Paid Date vs Last Scan Date"] <= 15 then "1-15"
else if [#"Difference in Days - Paid Date vs Last Scan Date"] >= 16 and [#"Difference in Days - Paid Date vs Last Scan Date"] <= 30 then "16-30"
else if [#"Difference in Days - Paid Date vs Last Scan Date"] >= 31 and [#"Difference in Days - Paid Date vs Last Scan Date"] <= 45 then "31-45"
else if [#"Difference in Days - Paid Date vs Last Scan Date"] >= 46 and [#"Difference in Days - Paid Date vs Last Scan Date"] <= 60 then "46-60"
else if [#"Difference in Days - Paid Date vs Last Scan Date"] > 60 then ">60"
else null
Regards
Phil
Answers Post
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Philip Treacy
Guest(s) 6
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1939
SunnyKow: 1432
Anders Sehlstedt: 925
Purfleet: 415
Frans Visser: 349
Hans Hallebeek: 343
David_Ng: 312
lea cohen: 248
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Lisa Donaldson
Hiroyuki Murai
Mark Allen
Yves Gagnon
PATRICK WALTER
Carley Brice
Ash Rahman
Christelle Lamprecht
Forum Stats:
Groups: 3
Forums: 25
Topics: 7088
Posts: 31065
Member Stats:
Guest Posters: 49
Members: 34506
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —