UDF feasibilty

mole999

Well-known Member
Joined
Oct 23, 2004
Messages
10,524
Office Version
  1. 2019
  2. 2016
  3. 2013
Platform
  1. Windows
I'm after some guidance. I have a file that is currently 30,000 rows with lots of formulas, I'm wondering if a UDF or 3 would assist in the speed and data return

example

=IF(O29637="","",IFERROR(IFERROR(VLOOKUP(O29637&"",NAMES,2,0),VLOOKUP(--O29637,NAMES,2,0)),""))

or

=TRIM(SUBSTITUTE(SUBSTITUTE(IF(S29610<>"","("&S29610&") "," ")&IF(T29610="",U29610,"["&T29610&"] "&U29610)&IF(Z29610<>""," "&Z29610,"")&IF(V29610=""," "&W29610," J/W " &" ["&V29610&"] "& W29610)&IF(AA29610<>"",", @ "&AA29610,"")&IF(AB29610<>"",", Nr. "&AB29610,"")&IF(AD29610<>"",", Twds. "&AD29610,"")&IF(AC29610<>"",", Btwn. "&AC29610,"")&IF(X29610<>"",", "&X29610,"")&IF(AE29610<>"",", "&AE29610,"")&" "&IF(Y29610<>"",", "&Y29610,"")," "," ")," , ",", "))

I can't see how to start either of these apart from Sub Function

The first would be to utilise a Vlookup, the second concatenates values from a range of cells and options.

guidance appreciated
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top