Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-12-2008, 05:45 PM
Mike C
 
Posts: n/a
Forcing a cell to be formatted as text - when using the Match Indexfunctions

Hello - I am trying to do use the Match and Index functions to perform
a Vlookup. However, the column for which I am attempting to match
values will not convert to text format (thus disallowing me from doing
the Lookup).

Does anyone have any suggestions.

FYI, the way that I know that it isn't text is when I use the
=istext() function, i get "false".

And I know that my formula is correct, because when i actually paste
the cells from the other table, the Formula produces the desired
result.

Thanks for any help!
Reply With Quote
  #2 (permalink)  
Old 05-12-2008, 06:09 PM
T. Valko
 
Posts: n/a
Re: Forcing a cell to be formatted as text - when using the Match Index functions

Not sure what you mean.

Do you mean the lookup_value is TEXT but the lookup_array is not?

What does your formula look like? Need more details!

--
Biff
Microsoft Excel MVP


"Mike C" <js2k111@yahoo.com> wrote in message
news:e8718acd-9f2c-488a-afbc-e8ed90674e28@d1g2000hsg.googlegroups.com...
> Hello - I am trying to do use the Match and Index functions to perform
> a Vlookup. However, the column for which I am attempting to match
> values will not convert to text format (thus disallowing me from doing
> the Lookup).
>
> Does anyone have any suggestions.
>
> FYI, the way that I know that it isn't text is when I use the
> =istext() function, i get "false".
>
> And I know that my formula is correct, because when i actually paste
> the cells from the other table, the Formula produces the desired
> result.
>
> Thanks for any help!



Reply With Quote
  #3 (permalink)  
Old 05-12-2008, 08:07 PM
Imonit
 
Posts: n/a
Re: Forcing a cell to be formatted as text - when using the MatchIndex functions

As Bif mentioned earlier, some more information would be helpful but
something I noticed from this text is;

> And I know that my formula is correct, because when i actually paste
> the cells from the other table, the Formula produces the desired
> result.


The possibility that this above test example does work is because the
formats were pasted with the information from the other table.
Thought I'd mention that as it might help you to troubleshoot the
issue your having.

Hope that helps!

-Imonit



On May 12, 12:45*pm, Mike C <js2k...@yahoo.com> wrote:
> Hello - I am trying to do use the Match and Index functions to perform
> a Vlookup. However, the column for which I am attempting to match
> values will not convert to text format (thus disallowing me from doing
> the Lookup).
>
> Does anyone have any suggestions.
>
> FYI, the way that I know that it isn't text is when I use the
> =istext() function, i get "false".
>
> And I know that my formula is correct, because when i actually paste
> the cells from the other table, the Formula produces the desired
> result.
>
> Thanks for any help!


Reply With Quote
  #4 (permalink)  
Old 05-12-2008, 10:07 PM
Pete_UK
 
Posts: n/a
Re: Forcing a cell to be formatted as text - when using the MatchIndex functions

I think that you mean that the lookup value is a number but the values
in the lookup table is text (or vice versa). If that is the case then
you could use this approach:

=INDEX(list_2,MATCH(A1&"",list_1,0))

Here A1 (a proper number) has "" joined on to it, effectively making
it into text to match the format of the values in list_1.

If your data is the other way around then you might have something
like this:

=INDEX(list_2,MATCH(A1*1,list_1,0))

Here A1 (a "text" number) is multiplied by 1 to turn it into a proper
number.

It's always helpful if you post the formula that you have tried with,
so we have some idea of cell references etc., but hopefully you can
adapt this.

Hope this helps.

Pete

On May 12, 5:45*pm, Mike C <js2k...@yahoo.com> wrote:
> Hello - I am trying to do use the Match and Index functions to perform
> a Vlookup. However, the column for which I am attempting to match
> values will not convert to text format (thus disallowing me from doing
> the Lookup).
>
> Does anyone have any suggestions.
>
> FYI, the way that I know that it isn't text is when I use the
> =istext() function, i get "false".
>
> And I know that my formula is correct, because when i actually paste
> the cells from the other table, the Formula produces the desired
> result.
>
> Thanks for any help!


Reply With Quote
  #5 (permalink)  
Old 05-12-2008, 10:23 PM
Mike C
 
Posts: n/a
Re: Forcing a cell to be formatted as text - when using the MatchIndex functions

On May 12, 12:09*pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Not sure what you mean.
>
> Do you mean the lookup_value is TEXT but the lookup_array is not?


In Sheet1!c2:c200, I have social security numbers and in
Sheet1d1:d200, I have the corresponding names.

In Sheet 2!e1:e500 I have another set of social security numbers.

I am trying to discover whether the socials in sheet 2 have a match
from sheet1 (i.e., my lookup formula is written in sheet2, and is
comparing to the socials in sheet1.

So, my formula in Sheet2 is =INDEX('sheet1!D:D,MATCH('Sheet2!
E2,'Sheet1!C:C,FALSE))

When I physically paste the social from Sheet 1 into sheet 2 (i.e., in
cell e2), the formula works. But the problem is that it won't work
otherwise (b/c for some reason the format of the cells in sheet 2,
column E cannot be changed to text, I believe).

Thanks for any suggestions. Hope this doesn't confuse you further.

>
> What does your formula look like? Need more details!
>
> --
> Biff
> Microsoft Excel MVP
>
> "Mike C" <js2k...@yahoo.com> wrote in message
>
> news:e8718acd-9f2c-488a-afbc-e8ed90674e28@d1g2000hsg.googlegroups.com...
>
>
>
> > Hello - I am trying to do use the Match and Index functions to perform
> > a Vlookup. However, the column for which I am attempting to match
> > values will not convert to text format (thus disallowing me from doing
> > the Lookup).

>
> > Does anyone have any suggestions.

>
> > FYI, the way that I know that it isn't text is when I use the
> > =istext() function, i get "false".

>
> > And I know that my formula is correct, because when i actually paste
> > the cells from the other table, the Formula produces the desired
> > result.

>
> > Thanks for any help!- Hide quoted text -

>
> - Show quoted text -


Reply With Quote
  #6 (permalink)  
Old 05-13-2008, 03:20 AM
T. Valko
 
Posts: n/a
Re: Forcing a cell to be formatted as text - when using the Match Index functions

Take a look at Pete's suggestion.

Also see this for common problems with lookups:

http://contextures.com/xlFunctions02.html#Trouble

--
Biff
Microsoft Excel MVP


"Mike C" <js2k111@yahoo.com> wrote in message
news:2eff9d72-9bc7-4928-a485-a8ae7b8a1192@m3g2000hsc.googlegroups.com...
On May 12, 12:09 pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Not sure what you mean.
>
> Do you mean the lookup_value is TEXT but the lookup_array is not?


In Sheet1!c2:c200, I have social security numbers and in
Sheet1d1:d200, I have the corresponding names.

In Sheet 2!e1:e500 I have another set of social security numbers.

I am trying to discover whether the socials in sheet 2 have a match
from sheet1 (i.e., my lookup formula is written in sheet2, and is
comparing to the socials in sheet1.

So, my formula in Sheet2 is =INDEX('sheet1!D:D,MATCH('Sheet2!
E2,'Sheet1!C:C,FALSE))

When I physically paste the social from Sheet 1 into sheet 2 (i.e., in
cell e2), the formula works. But the problem is that it won't work
otherwise (b/c for some reason the format of the cells in sheet 2,
column E cannot be changed to text, I believe).

Thanks for any suggestions. Hope this doesn't confuse you further.

>
> What does your formula look like? Need more details!
>
> --
> Biff
> Microsoft Excel MVP
>
> "Mike C" <js2k...@yahoo.com> wrote in message
>
> news:e8718acd-9f2c-488a-afbc-e8ed90674e28@d1g2000hsg.googlegroups.com...
>
>
>
> > Hello - I am trying to do use the Match and Index functions to perform
> > a Vlookup. However, the column for which I am attempting to match
> > values will not convert to text format (thus disallowing me from doing
> > the Lookup).

>
> > Does anyone have any suggestions.

>
> > FYI, the way that I know that it isn't text is when I use the
> > =istext() function, i get "false".

>
> > And I know that my formula is correct, because when i actually paste
> > the cells from the other table, the Formula produces the desired
> > result.

>
> > Thanks for any help!- Hide quoted text -

>
> - Show quoted text -



Reply With Quote
  #7 (permalink)  
Old 05-13-2008, 05:28 AM
Mike C
 
Posts: n/a
Re: Forcing a cell to be formatted as text - when using the MatchIndex functions

On May 12, 9:20*pm, "T. Valko" <biffinp...@comcast.net> wrote:
> Take a look at Pete's suggestion.
>
> Also see this for common problems with lookups:
>
> http://contextures.com/xlFunctions02.html#Trouble
>
> --
> Biff
> Microsoft Excel MVP
>
> "Mike C" <js2k...@yahoo.com> wrote in message
>
> news:2eff9d72-9bc7-4928-a485-a8ae7b8a1192@m3g2000hsc.googlegroups.com...
> On May 12, 12:09 pm, "T. Valko" <biffinp...@comcast.net> wrote:
>
> > Not sure what you mean.

>
> > Do you mean the lookup_value is TEXT but the lookup_array is not?

>
> In Sheet1!c2:c200, I have social security numbers and in
> Sheet1d1:d200, I have the corresponding names.
>
> In Sheet 2!e1:e500 I have another set of social security numbers.
>
> I am trying to discover whether the socials in sheet 2 have a match
> from sheet1 (i.e., my lookup formula is written in sheet2, and is
> comparing to the socials in sheet1.
>
> So, my formula in Sheet2 is =INDEX('sheet1!D:D,MATCH('Sheet2!
> E2,'Sheet1!C:C,FALSE))
>
> When I physically paste the social from Sheet 1 into sheet 2 (i.e., in
> cell e2), the formula works. *But the problem is that it won't work
> otherwise (b/c for some reason the format of the cells in sheet 2,
> column E cannot be changed to text, I believe).
>
> Thanks for any suggestions. Hope this doesn't confuse you further.
>
>
>
>
>
> > What does your formula look like? Need more details!

>
> > --
> > Biff
> > Microsoft Excel MVP

>
> > "Mike C" <js2k...@yahoo.com> wrote in message

>
> >news:e8718acd-9f2c-488a-afbc-e8ed90674e28@d1g2000hsg.googlegroups.com...

>
> > > Hello - I am trying to do use the Match and Index functions to perform
> > > a Vlookup. However, the column for which I am attempting to match
> > > values will not convert to text format (thus disallowing me from doing
> > > the Lookup).

>
> > > Does anyone have any suggestions.

>
> > > FYI, the way that I know that it isn't text is when I use the
> > > =istext() function, i get "false".

>
> > > And I know that my formula is correct, because when i actually paste
> > > the cells from the other table, the Formula produces the desired
> > > result.

>
> > > Thanks for any help!- Hide quoted text -

>
> > - Show quoted text -- Hide quoted text -

>
> - Show quoted text -


Thanks Biff. Pete's suggestion did the trick
Reply With Quote
  #8 (permalink)  
Old 05-13-2008, 09:05 AM
Pete_UK
 
Posts: n/a
Re: Forcing a cell to be formatted as text - when using the MatchIndex functions

Thanks for the feedback, and for the email to confirm the approach
worked.

Pete

On May 13, 5:28*am, Mike C <js2k...@yahoo.com> wrote:
>
> Thanks Biff. Pete's suggestion did the trick

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Excel


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:40 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Free Credit Report | Credit Counseling | Xbox Mod Chip | Car Credit | Fast Loans



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114