Michael Hilton
New Member
Members
Forum Posts: 1
Member Since:
January 7, 2020
January 7, 2020
Offline
I have an excel formula which returns a age banding based upon volume -
=IFS(S4>365,"365+",S4<=30,"Not Due",AND(S4>=31,S4<=60),"31-60",AND(S4>=61,S4<=90),"61-90",AND(S4>=91,S4<=120),"91-120",AND(S4>=121,S4<=365),"121-365")
S4 = "No Days old".
I am looking to replicate the formula in Power Query. How would I construct the formula?
Please bear with me I am new to Power Query.
Thank you in advance
Mynda Treacy
Admin
Forum Posts: 4703
Member Since:
July 16, 2010
July 16, 2010
Offline
Hi Michael,
Welcome to our forum!
This IFS formula is the equivalent of an approximate match VLOOKUP and I wrote a tutorial on replicating an approximate match VLOOKUP with Power Query.
I hope that points you in the right direction.
Mynda
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Pam Baillie, Zachary Ped, Eugene Augustine
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
Catalin Bombea: 1917
SunnyKow: 1432
Anders Sehlstedt: 900
Purfleet: 414
Frans Visser: 346
David_Ng: 306
Hans Hallebeek: 290
lea cohen: 246
Jessica Stewart: 219
A.Maurizio: 216
Newest Members:
Michal Kučera
Stephen Keating
David M Connelly
Quick Analytics
Peter Craven
Thomas Huybs
Cassandra McGuire
Leo Bonaparte
Excel Learner
david gavi
Forum Stats:
Groups: 3
Forums: 24
Topics: 6880
Posts: 30159
Member Stats:
Guest Posters: 49
Members: 33707
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
Moderators: Velouria, Riny van Eekelen
© Simple:Press —