Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default formula issue between cells

I have a issue with using a formula to look at another cell with a formula in
it and pulling the data correctly.

Column "L" has a formula (vlookup) pulling a cell over if it has a
particular symbol "HV".
Column "M" looks at "L" and if it equals 2 or 8 than it puts either of the
those numbers in "M" or leaves blank if it equals anything else.
Column "N" looks at "M" and pulls the data from column "J" if a 2 or 8 is in
"M".

My problem is Column "N" it seems, can't differentiate what is in column
"M". It seems it does not like the formula in "M".

Formulas being used:

Column
€śL€ť: =IF(ISNA(VLOOKUP($L$1,A2:H2,8,FALSE))=TRUE,"",VLOO KUP($L$1,A2:H2,8,FALSE))

Column €śM€ť: =IF(L2=2,"2",IF(L2=8,"8",""))

Column €śN€ť: =IF(M2=2,J2,IF(M2=8,J2,""))
--
Baltimore Ravens
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default formula issue between cells

You should remove the quotes from around the numbers 2 and 8 in your
formula in M:

=IF(L2=2,2,IF(L2=8,8,""))

A slightly more efficient version would be:

=IF(OR(L2=2,L2=8),L2,"")

Hope this helps.

Pete

On Jan 30, 2:41 pm, Ravens Fan
wrote:
I have a issue with using a formula to look at another cell with a formula in
it and pulling the data correctly.

Column "L" has a formula (vlookup) pulling a cell over if it has a
particular symbol "HV".
Column "M" looks at "L" and if it equals 2 or 8 than it puts either of the
those numbers in "M" or leaves blank if it equals anything else.
Column "N" looks at "M" and pulls the data from column "J" if a 2 or 8 is in
"M".

My problem is Column "N" it seems, can't differentiate what is in column
"M". It seems it does not like the formula in "M".

Formulas being used:

Column
"L": =IF(ISNA(VLOOKUP($L$1,A2:H2,8,FALSE))=TRUE,"",VLOO KUP($L$1,A2:H2,8,FALSE))

Column "M": =IF(L2=2,"2",IF(L2=8,"8",""))

Column "N": =IF(M2=2,J2,IF(M2=8,J2,""))
--
Baltimore Ravens


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,316
Default formula issue between cells

The formula in column M is putting a text value ("2" or "8") into the cell
and your formula in column N is looking for an integer, not a string.

Modify the formula in column N to this:

=IF(M2="2",J2,IF(M2="8",J2,""))

--
Kevin Backmann


"Ravens Fan" wrote:

I have a issue with using a formula to look at another cell with a formula in
it and pulling the data correctly.

Column "L" has a formula (vlookup) pulling a cell over if it has a
particular symbol "HV".
Column "M" looks at "L" and if it equals 2 or 8 than it puts either of the
those numbers in "M" or leaves blank if it equals anything else.
Column "N" looks at "M" and pulls the data from column "J" if a 2 or 8 is in
"M".

My problem is Column "N" it seems, can't differentiate what is in column
"M". It seems it does not like the formula in "M".

Formulas being used:

Column
€śL€ť: =IF(ISNA(VLOOKUP($L$1,A2:H2,8,FALSE))=TRUE,"",VLOO KUP($L$1,A2:H2,8,FALSE))

Column €śM€ť: =IF(L2=2,"2",IF(L2=8,"8",""))

Column €śN€ť: =IF(M2=2,J2,IF(M2=8,J2,""))
--
Baltimore Ravens

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 27
Default formula issue between cells

Thanks, worked great. I'm a novice at excel and am learning as I go.

Thanks again for both respones.
--
Baltimore Ravens


"Pete_UK" wrote:

You should remove the quotes from around the numbers 2 and 8 in your
formula in M:

=IF(L2=2,2,IF(L2=8,8,""))

A slightly more efficient version would be:

=IF(OR(L2=2,L2=8),L2,"")

Hope this helps.

Pete

On Jan 30, 2:41 pm, Ravens Fan
wrote:
I have a issue with using a formula to look at another cell with a formula in
it and pulling the data correctly.

Column "L" has a formula (vlookup) pulling a cell over if it has a
particular symbol "HV".
Column "M" looks at "L" and if it equals 2 or 8 than it puts either of the
those numbers in "M" or leaves blank if it equals anything else.
Column "N" looks at "M" and pulls the data from column "J" if a 2 or 8 is in
"M".

My problem is Column "N" it seems, can't differentiate what is in column
"M". It seems it does not like the formula in "M".

Formulas being used:

Column
"L": =IF(ISNA(VLOOKUP($L$1,A2:H2,8,FALSE))=TRUE,"",VLOO KUP($L$1,A2:H2,8,FALSE))

Column "M": =IF(L2=2,"2",IF(L2=8,"8",""))

Column "N": =IF(M2=2,J2,IF(M2=8,J2,""))
--
Baltimore Ravens



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default formula issue between cells

You're welcome.

Presumably, Ravens is some sports club in Baltimore ? Along the lines
of Manchester United ?

Pete

On Jan 30, 3:38*pm, Ravens Fan
wrote:
Thanks, worked great. I'm a novice at excel and am learning as I go.

Thanks again for both respones.
--
Baltimore Ravens



"Pete_UK" wrote:
You should remove the quotes from around the numbers 2 and 8 in your
formula in M:


=IF(L2=2,2,IF(L2=8,8,""))


A slightly more efficient version would be:


=IF(OR(L2=2,L2=8),L2,"")


Hope this helps.


Pete


On Jan 30, 2:41 pm, Ravens Fan
wrote:
I have a issue with using a formula to look at another cell with a formula in
it and pulling the data correctly.


Column "L" has a formula (vlookup) pulling a cell over if it has a
particular symbol "HV".
Column "M" looks at "L" and if it equals 2 or 8 than it puts either of the
those numbers in "M" or leaves blank if it equals anything else.
Column "N" looks at "M" and pulls the data from column "J" if a 2 or 8 is in
"M".


My problem is Column "N" it seems, can't differentiate what is in column
"M". It seems it does not like the formula in "M".


Formulas being used:


Column
"L": * * * *=IF(ISNA(VLOOKUP($L$1,A2:H2,8,FALSE))=TRUE,"",VLO OKUP($L$1,A2:H2,8,FALSE))


Column "M": =IF(L2=2,"2",IF(L2=8,"8",""))


Column "N": =IF(M2=2,J2,IF(M2=8,J2,""))
--
Baltimore Ravens- Hide quoted text -


- Show quoted text -


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
VB macros issue with selecting cells on different page Sunny Excel Discussion (Misc queries) 1 March 17th 07 01:07 AM
Another Visual Basic/Dependant Cells issue ALEX Excel Worksheet Functions 1 February 6th 07 02:09 PM
formula issue AlienBeans Excel Discussion (Misc queries) 7 May 30th 06 04:47 AM
Format cells (number) issue Amalthea Excel Discussion (Misc queries) 1 April 5th 06 01:07 PM
An issue regarding the formula HuaMin Excel Discussion (Misc queries) 0 December 7th 05 09:07 AM


All times are GMT +1. The time now is 07:43 AM.

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

About Us

"It's about Microsoft Excel"