Thread: Match help
View Single Post
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default Match help

I don't understand what those final -- are doing.

=INDEX(Sheet1!$AG$1:$AG$8000,
MATCH(1,($D$1:$D$8000=Sheet1!D1)*($J$1:$J$8000=She et1!J1),0))

But the formula should be returning something from sheet1, column AG.

Maybe you want:

=INDEX(Sheet1!$AG$1:$AG$8000,
MATCH(1,(sheet1!$D$1:$D$8000=D1)*(sheet1!$J$1:$J$8 000=J1),0))

This formula is on sheet2???

Mrbanner wrote:

Thanks Formula searches the way I need
But for some reason it is not Inputting the Correct Information into AG

Cells
=INDEX(Sheet1!$AG$1:$AG$8000,MATCH(1,($D$1:$D$8000 =Sheet1!D1)*($J$1:$J$8000**=Sheet1!J1),0))

With the data I have it will not be in the same order all the time and
items and lines will be removed and added. I think this code is for if
the line stay the same

For example
On Sheet 1
D= Account Number
J= Product Code
AG= Notes

Sheet 2 is the same
D= Account Number
J= Product Code
AG= Notes

But the information inside the cells will mostly be different
And in different order.
What I needs that if Sheet1 (D & J) upto 8000 lines = (Sheet2 (D & J)

upto 8000 lines then Sheet 2 (AG) = Sheet 1 (AG)

Sorry hard to explain
In a nut shell
Sheet1 (D&J) LINE 5)
Sheet2 (D&J) LINE 800)
Both Match I have notes typed In AG(Sheet1)
Now I need these notes to be shown in Sheet2(line 800) now?

Reply


--

Dave Peterson