Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default If Statement for Text

Does anyone know how to word an If Statement if you have a column that is
filled with text and you want the column next to automatically recogize it as
insert the number 1?

For example, Column A ask for assets. If an asset is listed, I want Column
B to automatically populated with the number 1.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 515
Default If Statement for Text

There are several possibilities here, depending on exactly what you are
working with. How would you know that an entry in col A refers to an asset,
and not something else? If eg the words in col A will always start with the
word "asset", then you can use =IF(LEFT(A1,5)="Asset",1,0)
Without better info, it would be difficult to assist you, though

--
Hth

Kassie Kasselman
Change xxx to hotmail


"Kehau37" wrote:

Does anyone know how to word an If Statement if you have a column that is
filled with text and you want the column next to automatically recogize it as
insert the number 1?

For example, Column A ask for assets. If an asset is listed, I want Column
B to automatically populated with the number 1.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default If Statement for Text

Try this:

=IF(A1<"",1,"")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Kehau37" <u38500@uwe wrote in message news:7a21fc430fd8e@uwe...
Does anyone know how to word an If Statement if you have a column that is
filled with text and you want the column next to automatically recogize it
as
insert the number 1?

For example, Column A ask for assets. If an asset is listed, I want
Column
B to automatically populated with the number 1.

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default If Statement for Text

Thank you so much!! This works!

RagDyer wrote:
Try this:

=IF(A1<"",1,"")

Does anyone know how to word an If Statement if you have a column that is
filled with text and you want the column next to automatically recogize it

[quoted text clipped - 6 lines]

Thanks


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default If Statement for Text

You're welcome, and thank you for the feed-back.

--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"Kehau37" <u38500@uwe wrote in message news:7a22b25ffc7ee@uwe...
Thank you so much!! This works!

RagDyer wrote:
Try this:

=IF(A1<"",1,"")

Does anyone know how to word an If Statement if you have a column that is
filled with text and you want the column next to automatically recogize
it

[quoted text clipped - 6 lines]

Thanks



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
If/then statement for text string David T Excel Discussion (Misc queries) 3 May 2nd 07 06:34 PM
If then statement to search for text possible? Ken Wright Excel Discussion (Misc queries) 6 January 31st 06 09:52 PM
Combining Text on statement LOU Excel Worksheet Functions 6 November 21st 05 08:04 PM
if statement with text jerry Excel Discussion (Misc queries) 2 June 24th 05 01:21 AM
If statement for text decanno04 Excel Worksheet Functions 2 June 17th 05 12:41 AM


All times are GMT +1. The time now is 02:32 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"