#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pamela Creighton
 
Posts: n/a
Default Index / Hlookup

I have a colum that shows vlookups as text files
another colum that is to do an index / hlookup on the vlook up cell, if I
type in the same text in the vlookup colum the index / hlookup work if I
leave the colum with a vlookup I receive a #N/A error if I copy and paste
the vlookup as copy paste value it still does not work the only way the
index / hlookup will work is if I physically type the field in

colum K uses index and hlookup etc
IF($G10="MT",0,(($I10*(1+(INDEX(Packfactor!$A$2:$G $34,LOOKUP($J10,Packfactor!$A:$A,ROW(Packfactor!$A :$A))-1,LOOKUP($H10,Packfactor!$2:$2,COLUMN(Packfactor!$ 2:$2)))/100)+(HLOOKUP($H10,Packfactor!$2:$5,4,FALSE)*(HLOO KUP($H10,Packfactor!$2:$3,2,FALSE)-$I10))))/HLOOKUP($H10,Packfactor!$2:$3,2,FALSE))*HLOOKUP($H 10,Packfactor!$2:$4,3,FALSE))

Colum H
has a vlookup field receive error #N/A in column K
if I type in the same result as comes up with vlookup I receive the correct
results in colum K

it is as if the formula in colum K cannot use what Column H lookup reads on
screen
any suggesting greatly appreciated.

Regards
Pam



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Index / Hlookup

Do this comparison, assume the formula returns it's value in

A2

in another cell (let's say C2) type in the result of the formula

then in a third cell test

=A2=C2

it will return FALSE since they don't match

then try

=TRIM(A2)=C2

if you get TRUE you have extra spaces in the formula

or if they are supposed to be numbers

=--(A2)=C2



--
Regards,

Peo Sjoblom

Portland, Oregon




"Pamela Creighton" wrote in message
...
I have a colum that shows vlookups as text files
another colum that is to do an index / hlookup on the vlook up cell, if I
type in the same text in the vlookup colum the index / hlookup work if I
leave the colum with a vlookup I receive a #N/A error if I copy and paste
the vlookup as copy paste value it still does not work the only way the
index / hlookup will work is if I physically type the field in

colum K uses index and hlookup etc
IF($G10="MT",0,(($I10*(1+(INDEX(Packfactor!$A$2:$G $34,LOOKUP($J10,Packfactor!$A:$A,ROW(Packfactor!$A :$A))-1,LOOKUP($H10,Packfactor!$2:$2,COLUMN(Packfactor!$ 2:$2)))/100)+(HLOOKUP($H10,Packfactor!$2:$5,4,FALSE)*(HLOO KUP($H10,Packfactor!$2:$3,2,FALSE)-$I10))))/HLOOKUP($H10,Packfactor!$2:$3,2,FALSE))*HLOOKUP($H 10,Packfactor!$2:$4,3,FALSE))

Colum H
has a vlookup field receive error #N/A in column K
if I type in the same result as comes up with vlookup I receive the
correct results in colum K

it is as if the formula in colum K cannot use what Column H lookup reads
on screen
any suggesting greatly appreciated.

Regards
Pam




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically number an index column Phil Excel Worksheet Functions 13 October 25th 05 01:36 PM
Formatting result of Index function ExcelFred Excel Worksheet Functions 5 July 26th 05 01:34 PM
cell color index comparison MINAL ZUNKE New Users to Excel 1 June 30th 05 07:11 AM
Min formula not returning value from Index ExcelMonkey Excel Worksheet Functions 3 January 29th 05 01:47 AM
index to a range of cells Frank Kabel Excel Worksheet Functions 0 October 27th 04 05:39 PM


All times are GMT +1. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"