PC Review


Reply
Thread Tools Rate Thread

Conditional formula help

 
 
MaryFran
Guest
Posts: n/a
 
      20th Jun 2008
Here's what I need to do: One column (D2) in my spreadsheet has the coverage
dates of periodicals . I need to come up with the formula that would insert
"Current" into a new column if the coverage date cell has any of the
following words: present, days, or months. If the coverage date does not
have any of those three words, I want a blank cell. Any help would be muchly
appreciated!


 
Reply With Quote
 
 
 
 
Sandy Mann
Guest
Posts: n/a
 
      20th Jun 2008
Assuming that you are saying that the coverage date cell has other things in
it beside the target words then try:

=IF(ISNUMBER(LOOKUP(10,1/SEARCH({"present","days","months"},D2))),"Current","")

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"MaryFran" <(E-Mail Removed)> wrote in message
news:63019E2F-0B36-44F5-A66C-(E-Mail Removed)...
> Here's what I need to do: One column (D2) in my spreadsheet has the
> coverage
> dates of periodicals . I need to come up with the formula that would
> insert
> "Current" into a new column if the coverage date cell has any of the
> following words: present, days, or months. If the coverage date does not
> have any of those three words, I want a blank cell. Any help would be
> muchly
> appreciated!
>
>
>



 
Reply With Quote
 
FSt1
Guest
Posts: n/a
 
      20th Jun 2008
hi
try this....
=IF(OR(D2="present",D2="days",D2="months"),"current","")
copy down?

Regards
FSt1

"MaryFran" wrote:

> Here's what I need to do: One column (D2) in my spreadsheet has the coverage
> dates of periodicals . I need to come up with the formula that would insert
> "Current" into a new column if the coverage date cell has any of the
> following words: present, days, or months. If the coverage date does not
> have any of those three words, I want a blank cell. Any help would be muchly
> appreciated!
>
>

 
Reply With Quote
 
MaryFran
Guest
Posts: n/a
 
      20th Jun 2008
Sandy,

This worked perfectly! Thanks so much for your help!

"Sandy Mann" wrote:

> Assuming that you are saying that the coverage date cell has other things in
> it beside the target words then try:
>
> =IF(ISNUMBER(LOOKUP(10,1/SEARCH({"present","days","months"},D2))),"Current","")
>
> --
> HTH
>
> Sandy
> In Perth, the ancient capital of Scotland
> and the crowning place of kings
>
> (E-Mail Removed)
> Replace @mailinator.com with @tiscali.co.uk
>
>
> "MaryFran" <(E-Mail Removed)> wrote in message
> news:63019E2F-0B36-44F5-A66C-(E-Mail Removed)...
> > Here's what I need to do: One column (D2) in my spreadsheet has the
> > coverage
> > dates of periodicals . I need to come up with the formula that would
> > insert
> > "Current" into a new column if the coverage date cell has any of the
> > following words: present, days, or months. If the coverage date does not
> > have any of those three words, I want a blank cell. Any help would be
> > muchly
> > appreciated!
> >
> >
> >

>
>
>

 
Reply With Quote
 
Sandy Mann
Guest
Posts: n/a
 
      20th Jun 2008
You are very welcome. Thanks for taking the time to let us know that it
worked for you.

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(E-Mail Removed)
Replace @mailinator.com with @tiscali.co.uk


"MaryFran" <(E-Mail Removed)> wrote in message
news:66F80CE4-0613-48A7-ABE7-(E-Mail Removed)...
> Sandy,
>
> This worked perfectly! Thanks so much for your help!
>
> "Sandy Mann" wrote:
>
>> Assuming that you are saying that the coverage date cell has other things
>> in
>> it beside the target words then try:
>>
>> =IF(ISNUMBER(LOOKUP(10,1/SEARCH({"present","days","months"},D2))),"Current","")
>>
>> --
>> HTH
>>
>> Sandy
>> In Perth, the ancient capital of Scotland
>> and the crowning place of kings
>>
>> (E-Mail Removed)
>> Replace @mailinator.com with @tiscali.co.uk
>>
>>
>> "MaryFran" <(E-Mail Removed)> wrote in message
>> news:63019E2F-0B36-44F5-A66C-(E-Mail Removed)...
>> > Here's what I need to do: One column (D2) in my spreadsheet has the
>> > coverage
>> > dates of periodicals . I need to come up with the formula that would
>> > insert
>> > "Current" into a new column if the coverage date cell has any of the
>> > following words: present, days, or months. If the coverage date does
>> > not
>> > have any of those three words, I want a blank cell. Any help would be
>> > muchly
>> > appreciated!
>> >
>> >
>> >

>>
>>
>>

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible blue Microsoft Excel Misc 2 11th Jul 2007 06:08 PM
How do I do a complex conditional in a conditional formatting formula Ray Stevens Microsoft Excel Discussion 7 12th Mar 2006 10:24 PM
Multiple conditional on conditional format formula Frank Kabel Microsoft Excel Programming 1 27th Jul 2004 06:24 PM
Re: Multiple conditional on conditional format formula Bob Phillips Microsoft Excel Programming 0 27th Jul 2004 05:30 PM
Excel Formula - IF Formula & Conditional Formatting rhhince Microsoft Excel Worksheet Functions 1 20th Jun 2004 06:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:56 PM.