A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

HELP! I'm not sure what formula to use!



 
 
Thread Tools Display Modes
  #1  
Old July 9th, 2007, 09:42 PM posted to microsoft.public.excel.misc
HERNAN
external usenet poster
 
Posts: 99
Default HELP! I'm not sure what formula to use!

A B c D (Result)
123 35.5% 888 41.3%
888 41.3% 020 0
456 52.12% 030 0

If the number on column "C" its also somewere on column "A" I need the value
on the righ of that number on column D.

ie:
if 888 is in column A I need the value of 888 wich is 41.3%
on column "D" Result.

Column "A" has thousands of rows that;s why I need a formula.
I was thinking on this one.
IF(COUNTIF(A2:A4,C2)0,B2) but doesn't give me the appropiate value it gave
me in this case 35.5% of course.
Please help,
Thank you

Hernan




  #2  
Old July 9th, 2007, 09:56 PM posted to microsoft.public.excel.misc
Farhad
external usenet poster
 
Posts: 296
Default HELP! I'm not sure what formula to use!

Hi,

Try this:

=VLOOKUP(C1,A1:B100,2,FALSE)

Assumed you data is in A1:C100

Thanks,
--
Farhad Hodjat


"HERNAN" wrote:

A B c D (Result)
123 35.5% 888 41.3%
888 41.3% 020 0
456 52.12% 030 0

If the number on column "C" its also somewere on column "A" I need the value
on the righ of that number on column D.

ie:
if 888 is in column A I need the value of 888 wich is 41.3%
on column "D" Result.

Column "A" has thousands of rows that;s why I need a formula.
I was thinking on this one.
IF(COUNTIF(A2:A4,C2)0,B2) but doesn't give me the appropiate value it gave
me in this case 35.5% of course.
Please help,
Thank you

Hernan




  #3  
Old July 9th, 2007, 10:28 PM posted to microsoft.public.excel.misc
HERNAN
external usenet poster
 
Posts: 99
Default HELP! I'm not sure what formula to use!

Thank you so much it works really well. What if I don't have that match is it
possible to set it up to go for the closer number, ie if I'm looking for 1000
and doesn't find that number to start looking for 1001 or 999 until it find
it? or maybe another formula next to that one, if error then or 100
something to set a range of numbers?
Thank you so much anyway I really appreciate.
Hernan


"HERNAN" wrote:

A B c D (Result)
123 35.5% 888 41.3%
888 41.3% 020 0
456 52.12% 030 0

If the number on column "C" its also somewere on column "A" I need the value
on the righ of that number on column D.

ie:
if 888 is in column A I need the value of 888 wich is 41.3%
on column "D" Result.

Column "A" has thousands of rows that;s why I need a formula.
I was thinking on this one.
IF(COUNTIF(A2:A4,C2)0,B2) but doesn't give me the appropiate value it gave
me in this case 35.5% of course.
Please help,
Thank you

Hernan




  #4  
Old July 10th, 2007, 01:26 AM posted to microsoft.public.excel.misc
Fred Smith
external usenet poster
 
Posts: 553
Default HELP! I'm not sure what formula to use!

Yes. Change the last parameter from False to True. Look up Vlookup in Help for
more information.

--
Regards,
Fred


"HERNAN" wrote in message
...
Thank you so much it works really well. What if I don't have that match is it
possible to set it up to go for the closer number, ie if I'm looking for 1000
and doesn't find that number to start looking for 1001 or 999 until it find
it? or maybe another formula next to that one, if error then or 100
something to set a range of numbers?
Thank you so much anyway I really appreciate.
Hernan


"HERNAN" wrote:

A B c D (Result)
123 35.5% 888 41.3%
888 41.3% 020 0
456 52.12% 030 0

If the number on column "C" its also somewere on column "A" I need the value
on the righ of that number on column D.

ie:
if 888 is in column A I need the value of 888 wich is 41.3%
on column "D" Result.

Column "A" has thousands of rows that;s why I need a formula.
I was thinking on this one.
IF(COUNTIF(A2:A4,C2)0,B2) but doesn't give me the appropiate value it gave
me in this case 35.5% of course.
Please help,
Thank you

Hernan






  #5  
Old July 10th, 2007, 05:08 AM posted to microsoft.public.excel.misc
sonia, singapore
external usenet poster
 
Posts: 2
Default HELP! I'm not sure what formula to use!

Use True only if you are looking for a range of data. If merely finding
matching data then False.
--
Cheers


"Fred Smith" wrote:

Yes. Change the last parameter from False to True. Look up Vlookup in Help for
more information.

--
Regards,
Fred


"HERNAN" wrote in message
...
Thank you so much it works really well. What if I don't have that match is it
possible to set it up to go for the closer number, ie if I'm looking for 1000
and doesn't find that number to start looking for 1001 or 999 until it find
it? or maybe another formula next to that one, if error then or 100
something to set a range of numbers?
Thank you so much anyway I really appreciate.
Hernan


"HERNAN" wrote:

A B c D (Result)
123 35.5% 888 41.3%
888 41.3% 020 0
456 52.12% 030 0

If the number on column "C" its also somewere on column "A" I need the value
on the righ of that number on column D.

ie:
if 888 is in column A I need the value of 888 wich is 41.3%
on column "D" Result.

Column "A" has thousands of rows that;s why I need a formula.
I was thinking on this one.
IF(COUNTIF(A2:A4,C2)0,B2) but doesn't give me the appropiate value it gave
me in this case 35.5% of course.
Please help,
Thank you

Hernan







  #6  
Old July 10th, 2007, 05:12 AM posted to microsoft.public.excel.misc
sonia, singapore
external usenet poster
 
Posts: 2
Default HELP! I'm not sure what formula to use!

Use TRUE is looking for range of data.
--
Cheers


"Fred Smith" wrote:

Yes. Change the last parameter from False to True. Look up Vlookup in Help for
more information.

--
Regards,
Fred


"HERNAN" wrote in message
...
Thank you so much it works really well. What if I don't have that match is it
possible to set it up to go for the closer number, ie if I'm looking for 1000
and doesn't find that number to start looking for 1001 or 999 until it find
it? or maybe another formula next to that one, if error then or 100
something to set a range of numbers?
Thank you so much anyway I really appreciate.
Hernan


"HERNAN" wrote:

A B c D (Result)
123 35.5% 888 41.3%
888 41.3% 020 0
456 52.12% 030 0

If the number on column "C" its also somewere on column "A" I need the value
on the righ of that number on column D.

ie:
if 888 is in column A I need the value of 888 wich is 41.3%
on column "D" Result.

Column "A" has thousands of rows that;s why I need a formula.
I was thinking on this one.
IF(COUNTIF(A2:A4,C2)0,B2) but doesn't give me the appropiate value it gave
me in this case 35.5% of course.
Please help,
Thank you

Hernan







 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:38 AM.


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