
Michael Hilton
New Member
Members

Forum Posts: 1
Member Since:
January 7, 2020
January 7, 2020

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: 4449
Member Since:
July 16, 2010
July 16, 2010

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: Kim Knox, Tiffany Kang
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Raj Mattoo
Mark Luke
terimeri dooriyan
Jack Aston
AndyC
Forum Stats:
Groups: 3
Forums: 24
Topics: 6221
Posts: 27285
Member Stats:
Guest Posters: 49
Members: 31908
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —
