Ok, so here is the function as I have it so far. I may be
adding to it...
=IF(AND(L2="National"),IF(OR(K2="Calgary",K2="Calgary
(30620)"),"Calgary",IF(AND(L2="National"),IF(OR
(K2="Toronto - Bay Street (30030)",K2="Toronto
(30010)",K2="Toronto University (30018)",K2="Vaughan
(30016)",K2="Mississauga (30013)",K2="National - 40
University (30993)",K2="National (CCW)
(30991)",K2="National (University) (30990)",K2="North York
(30014)"),"GTA",IF(AND(L2="National"),IF(OR
(K2="Burnaby/New Westminster (30075)",K2="Vancouver
(30077)"),"GVA",IF(L2="National Shared Services","NSS","No
Data")))))))
It's pretty basic: I have a list of locations and I want
to group them. I'm actually using this as a part of a
macro. The macro collects data from an external data
source and then inserts a column where I would like this
formula to be copied across to all records.
Any help is very much appreciated.
Thanks
B