How to find a value in an array?

Raschy

New Member
Joined
Jul 15, 2014
Messages
5
Hi, I have the following functions:

=IF(('Input Sheet'!$D$2:$D$250='Supplier Input'!A6)*(MONTH(H$2)=MONTH('Input Sheet'!$Q$2:$Q$250)),IF('Input Sheet'!$E$2:$E$250>0,IF(('Input Sheet'!$Q$2:$Q$250-'Input Sheet'!P4:$P$250)={29,30,31},VLOOKUP($A$6,'Input Sheet'!D:M,ROWS('Supplier Input'!$H$7:H9)+1,FALSE),"Nem teljes számla!"),"Credit Note!"),"Nincs számla!")

The problem is with the 'Input Sheet'!$D$2:$D$250='Supplier Input'!A6
part. What I want to do is to find the Value in A6 in the Column D2:D250, and work with that row, in which it is found.
How can I do this?

Thank you for your help,
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Hello, thanks for the reply. I have another question, though: How can I compare a value to an array of values, and get a TRUE If the value is in fact in the array? For instance: 5={1,2,3,4,5} would give a TRUE. How can I do that?
 
Upvote 0

Forum statistics

Threads
1,214,547
Messages
6,120,139
Members
448,948
Latest member
spamiki

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