Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default converting text to numbers

I have columns "A", "B", and "C". I want to place an "X" in only one of the
cells in the row below. If x is in column "A", it will =4. If x is in column
"B", it will =8. If x is in column "C", it will =15. How do I create this
formula so that whatever x equals, that number will be displayed in cell F2?
I tried =lookup("x",a2:c2,{4,8,15}), but it displayed NA
Does anyone have any help?
Thank you

--
Have a great day!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default converting text to numbers

see your previous post

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"northerner" escreveu:

I have columns "A", "B", and "C". I want to place an "X" in only one of the
cells in the row below. If x is in column "A", it will =4. If x is in column
"B", it will =8. If x is in column "C", it will =15. How do I create this
formula so that whatever x equals, that number will be displayed in cell F2?
I tried =lookup("x",a2:c2,{4,8,15}), but it displayed NA
Does anyone have any help?
Thank you

--
Have a great day!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default converting text to numbers

shows NA if you do not have any X in a, b or c column, you can use

=if(iserror((lookup("x",a2:c2,{4,8,15}))),"",(look up("x",a2:c2,{4,8,15})))

hth

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"Marcelo" escreveu:

see your previous post

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"northerner" escreveu:

I have columns "A", "B", and "C". I want to place an "X" in only one of the
cells in the row below. If x is in column "A", it will =4. If x is in column
"B", it will =8. If x is in column "C", it will =15. How do I create this
formula so that whatever x equals, that number will be displayed in cell F2?
I tried =lookup("x",a2:c2,{4,8,15}), but it displayed NA
Does anyone have any help?
Thank you

--
Have a great day!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default converting text to numbers

Thank you!!!!! It worked!!!!!
--
Have a great day!


"Marcelo" wrote:

see your previous post

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"northerner" escreveu:

I have columns "A", "B", and "C". I want to place an "X" in only one of the
cells in the row below. If x is in column "A", it will =4. If x is in column
"B", it will =8. If x is in column "C", it will =15. How do I create this
formula so that whatever x equals, that number will be displayed in cell F2?
I tried =lookup("x",a2:c2,{4,8,15}), but it displayed NA
Does anyone have any help?
Thank you

--
Have a great day!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default converting text to numbers

thanks for the feedback

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"northerner" escreveu:

Thank you!!!!! It worked!!!!!
--
Have a great day!


"Marcelo" wrote:

see your previous post

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo



"northerner" escreveu:

I have columns "A", "B", and "C". I want to place an "X" in only one of the
cells in the row below. If x is in column "A", it will =4. If x is in column
"B", it will =8. If x is in column "C", it will =15. How do I create this
formula so that whatever x equals, that number will be displayed in cell F2?
I tried =lookup("x",a2:c2,{4,8,15}), but it displayed NA
Does anyone have any help?
Thank you

--
Have a great day!



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
Converting text to numbers JRD Excel Worksheet Functions 1 December 12th 07 08:51 AM
Converting numbers to text Nicola Excel Discussion (Misc queries) 2 November 19th 07 04:06 PM
Converting numbers to text Ewout Stoutjesdijk Excel Discussion (Misc queries) 1 August 28th 05 10:35 PM
Converting numbers formatted as text to numbers Bill Excel Discussion (Misc queries) 1 July 19th 05 07:10 PM
converting numbers to text and prefill text field with 0's Jan Buckley Excel Discussion (Misc queries) 2 January 20th 05 09:03 PM


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

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"