Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup formula
Hi,
I am currently using a lookup formula to look at 2 sets of data on 2 excel pages. It works fine when looking at 2 or 3 cells, but when I expand the formula to lookup a few thousand cells is automatically looks up the last cell amount, not the cells overall. ie LOOKUP(A2,Sheet1!$B$3:$B$10000,Sheet1!$C$3:$C$1000 0) doesn't work but LOOKUP(A2,Sheet1!$B$3:$B$5,Sheet1!$C$3:$C$5) works fine Any suggestions would be much appreciated. The data it's reading is a data import, but I have re-imported to make sure their are no faults with that. Thankyou Fiona |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup formula
try this
=LOOKUP("Sheet2!",Sheet1!$B$3:$B$10000,"Sheet1!$C$ 3:$C$10000,false") -- Thanks Suleman Peerzade "Fiona" wrote: Hi, I am currently using a lookup formula to look at 2 sets of data on 2 excel pages. It works fine when looking at 2 or 3 cells, but when I expand the formula to lookup a few thousand cells is automatically looks up the last cell amount, not the cells overall. ie LOOKUP(A2,Sheet1!$B$3:$B$10000,Sheet1!$C$3:$C$1000 0) doesn't work but LOOKUP(A2,Sheet1!$B$3:$B$5,Sheet1!$C$3:$C$5) works fine Any suggestions would be much appreciated. The data it's reading is a data import, but I have re-imported to make sure their are no faults with that. Thankyou Fiona |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup formula
Is your data sorted?
-- __________________________________ HTH Bob "Fiona" wrote in message ... Hi, I am currently using a lookup formula to look at 2 sets of data on 2 excel pages. It works fine when looking at 2 or 3 cells, but when I expand the formula to lookup a few thousand cells is automatically looks up the last cell amount, not the cells overall. ie LOOKUP(A2,Sheet1!$B$3:$B$10000,Sheet1!$C$3:$C$1000 0) doesn't work but LOOKUP(A2,Sheet1!$B$3:$B$5,Sheet1!$C$3:$C$5) works fine Any suggestions would be much appreciated. The data it's reading is a data import, but I have re-imported to make sure their are no faults with that. Thankyou Fiona |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup formula
Thanks Bob, that must have been it, sorted both import so they matched and
all is fine now. thanks again "Bob Phillips" wrote: Is your data sorted? -- __________________________________ HTH Bob "Fiona" wrote in message ... Hi, I am currently using a lookup formula to look at 2 sets of data on 2 excel pages. It works fine when looking at 2 or 3 cells, but when I expand the formula to lookup a few thousand cells is automatically looks up the last cell amount, not the cells overall. ie LOOKUP(A2,Sheet1!$B$3:$B$10000,Sheet1!$C$3:$C$1000 0) doesn't work but LOOKUP(A2,Sheet1!$B$3:$B$5,Sheet1!$C$3:$C$5) works fine Any suggestions would be much appreciated. The data it's reading is a data import, but I have re-imported to make sure their are no faults with that. Thankyou Fiona |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Lookup formula
thanks Bob, I've sorted both imports the same way and it works now so that
must have been it. Thanks again "Bob Phillips" wrote: Is your data sorted? -- __________________________________ HTH Bob "Fiona" wrote in message ... Hi, I am currently using a lookup formula to look at 2 sets of data on 2 excel pages. It works fine when looking at 2 or 3 cells, but when I expand the formula to lookup a few thousand cells is automatically looks up the last cell amount, not the cells overall. ie LOOKUP(A2,Sheet1!$B$3:$B$10000,Sheet1!$C$3:$C$1000 0) doesn't work but LOOKUP(A2,Sheet1!$B$3:$B$5,Sheet1!$C$3:$C$5) works fine Any suggestions would be much appreciated. The data it's reading is a data import, but I have re-imported to make sure their are no faults with that. Thankyou Fiona |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Help with a Lookup formula ? | Excel Worksheet Functions | |||
LOOKUP FORMULA | Excel Discussion (Misc queries) | |||
Help with a Lookup Formula | Excel Worksheet Functions | |||
Max Lookup formula | Excel Worksheet Functions | |||
Lookup Formula - but have a formula if it can't find/match a value | Excel Worksheet Functions |