Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-25-2014, 09:21 PM
whatsup whatsup is offline Explanation for this formula Windows 7 64bit Explanation for this formula Office 2010 32bit
Competent Performer
 
Join Date: May 2014
Posts: 137
whatsup will become famous soon enough
Default

Hi Will

How much do you know about excel? You will need at least to know excel's feature for evaluating formulas, and how to create array formulas:
Quote:
(1) the second LOOKUP includes FIND($E$1:$E$10,A1) but on its own this formula just returns #VALUE.
FIND() on its own can't work with arrays, it's just able to look within a single cell for a character. The common use is:
=FIND("Hello","e",1)
It will return 2

Fill Range E1:E10 with characters a to j, now look at the evaluation if you select the cell containing:
=FIND(E1:E10,"e")
You will see =FIND("a","e") the result will be #VALUE but that's not of interest, the point is, the evaluation shows, that just the value of E1 is evaluated. No matter whether you entered the formula normally or as array formula!

To get FIND() working with arrays you will need a function, which got the ability to work with arrays. That's for example LOOKUP(), or MIN():
Enter the formula =MIN(FIND(E1:E10,"e")) and look at the evaluation, you will see something similiar as before, again only E1 is regarded.
Now enter the above formula as arrayformula and the evaluation will show you the values of each cell E1:E10.

LOOKUP() and MIN(), besides others, always will return a single value, but not an array as result!

Quote:
(2) what do the {} mean within the CHOOSE formula? I assume these are not to do with an array?
CHOOSE() is a special function. Besides the function N() and T() it got the ability to return an array as result. The {} are used in order that CHOOSE returns an array instead of a single value as result.

The whole formula as you posted, is quite sophisticated. It won't work with numeric values, unless you change REPT("z",255) to - for example - 9^9

Cheers
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
where to find explanation of reference styles LMHmedchem Word 5 07-22-2014 09:24 PM
Formula muhu Excel 1 04-14-2014 08:19 AM
Explanation for this formula Need help with formula zachluke Excel 3 03-13-2014 11:15 AM
Explanation for this formula Explanation for fields on the form hklein Word VBA 5 10-23-2011 04:10 AM
Microsoft Office XP/2003/2007/2010 Graphic Filters "Allow List" Explanation Jazz43 Office 0 08-24-2011 10:47 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft