LAMBDA Function and Using Cell Values as Ranges

chuckjitsu

New Member
Joined
Apr 24, 2015
Messages
48
Office Version
  1. 365
  2. 2016
Hello. I've been playing around with LAMBDA via 365. I came up with the below, which checks two ranges to see if they intersect. In this particular case with the used parameter values, this resolves to True, meaning no intersect.
No problem there. Now let's say cell A1 contains the value for x, in this case the text A1:E1. What syntax would I use so that the x value below in the second function would refer to the value in cell A1, in this case A1:E1, not the address of A1? Basically, x needs to be populated with a cell value, not a cell address.


=LAMBDA(x,y,ISERROR(x y))(A1:E1,C2:C13)

=LAMBDA(x,y,ISERROR(x y))
 
Well, I'd been doing all my Lambda testing in the same worksheet, so I decided to create a fresh worksheet and that did the trick. Not sure why I was getting those 0 values in one worksheet and the correct values in another, but it does work, so thanks again!
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Glad it's sorted & thanks for the feedback.
 
Upvote 0
I don't want to take up too much more of your time on this, but can you briefly explain what you did to correct the formula? I like to add to my Excel knowledge as I can.
 
Upvote 0
I didn't change anything, you said you created a new sheet & it worked.
 
Upvote 0

Forum statistics

Threads
1,215,045
Messages
6,122,830
Members
449,096
Latest member
Erald

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