Feb 16, 2005 #1 scotsql Technical User Jan 18, 2005 9 GB Hi all, I want a formula which will tell me the cell reference in a range if it equals another cell. But this just gives me FALSE =IF(A1:A106=K1,CELL("address",A1:A106)) i hope i have explained this well enough. thanks for any help..
Hi all, I want a formula which will tell me the cell reference in a range if it equals another cell. But this just gives me FALSE =IF(A1:A106=K1,CELL("address",A1:A106)) i hope i have explained this well enough. thanks for any help..
Feb 16, 2005 #2 S SkipVought Programmer Dec 4, 2001 47,492 US No, it is not clear. 1. [tt] =IF(A1:A106=K1,CELL("address",A1:A106)) [/tt] the bold part is not correct 2. the form of an IF statement is [tt] =IF(<expression>,<Result if TRUE>,<Result if FALSE>) [/tt] 3. CELL("address",A1:A106) returns $A$1 so I have not idea what you are trying to do. Skip, [red]Be advised:[/red] The dyslexic, agnostic, insomniac, lays awake all night wondering... "Is there really a DOG?" Upvote 0 Downvote
No, it is not clear. 1. [tt] =IF(A1:A106=K1,CELL("address",A1:A106)) [/tt] the bold part is not correct 2. the form of an IF statement is [tt] =IF(<expression>,<Result if TRUE>,<Result if FALSE>) [/tt] 3. CELL("address",A1:A106) returns $A$1 so I have not idea what you are trying to do. Skip, [red]Be advised:[/red] The dyslexic, agnostic, insomniac, lays awake all night wondering... "Is there really a DOG?"
Feb 16, 2005 1 #3 DaleWatson123321 Programmer Jun 12, 2001 1,788 CA One method... =VLOOKUP(K1,A1:B106,2,FALSE) ...where =CELL("address",A1) is entered into B1 and copied to B1:B106 (You could insert and hide column B if necessary.) Hope this helps. Regards, Dale Watson Upvote 0 Downvote
One method... =VLOOKUP(K1,A1:B106,2,FALSE) ...where =CELL("address",A1) is entered into B1 and copied to B1:B106 (You could insert and hide column B if necessary.) Hope this helps. Regards, Dale Watson
Feb 16, 2005 1 #4 GlennUK MIS Apr 8, 2002 2,937 GB Another method ... =CELL("address",OFFSET(A1,MATCH(K1,A1:A106,0)-1,0)) Cheers, Glenn. Did you hear about the literalist show-jumper? He broke his nose jumping against the clock. Upvote 0 Downvote
Another method ... =CELL("address",OFFSET(A1,MATCH(K1,A1:A106,0)-1,0)) Cheers, Glenn. Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.
Feb 16, 2005 #5 DaleWatson123321 Programmer Jun 12, 2001 1,788 CA Glenn, Yours is obviously better ;-) ...and worthy of a STAR. Regards, Dale Watson Upvote 0 Downvote
Feb 17, 2005 #6 GlennUK MIS Apr 8, 2002 2,937 GB Thank you Cheers, Glenn. Did you hear about the literalist show-jumper? He broke his nose jumping against the clock. Upvote 0 Downvote
Thank you Cheers, Glenn. Did you hear about the literalist show-jumper? He broke his nose jumping against the clock.