kweaver
Well-known Member
- Joined
- May 12, 2009
- Messages
- 2,940
- Office Version
- 365
I have a sheet that concatenates text with the result of a formula...and this process happens several times within a given cell.
For example, I have to find a person's ID in a column and then extract an assortment of data from other cells accordingly.
Two choices work: (1) using XLOOKUP repeatedly such as
="blah blah blah" & XLOOKUP(B1,People!B3:B5000,People!C3:C5000) & "more blah, blah" & XLOOKUP(B1,People!B3:B5000,People!H3:H5000) & "more blah blah"
or (2) using XLOOKUP once, place the result in a cell and then use INDEX repeatedly such as: =INDEX(People!C3,C5000,A1)
Where A1 contains the row from ONE XLOOKUP.
Is there any performance issue that would favor one approach over another?
For example, I have to find a person's ID in a column and then extract an assortment of data from other cells accordingly.
Two choices work: (1) using XLOOKUP repeatedly such as
="blah blah blah" & XLOOKUP(B1,People!B3:B5000,People!C3:C5000) & "more blah, blah" & XLOOKUP(B1,People!B3:B5000,People!H3:H5000) & "more blah blah"
or (2) using XLOOKUP once, place the result in a cell and then use INDEX repeatedly such as: =INDEX(People!C3,C5000,A1)
Where A1 contains the row from ONE XLOOKUP.
Is there any performance issue that would favor one approach over another?