#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Formula Help

I am trying to figure out a formula in Excel 2000. Here is what I am trying
to do:

In one column I have a drop down menu with two options; "Weekly" and "2 per
Month". In the next column, I want these options to be represented by
numbers so if "Weekly" is selected, the number 4 would show up and if "2 per
Month" were chosen, the number 2 would display. I am able to do this. Here
is the formula I use:

=IF(C4="Weekly",4,2)

But what I was hoping I could do would be to have the cell blank if nothing
is selected. Right now, before anything is selected in the first column, a 2
shows in the second column. Any ideas how I can get rid of that until a
selection is made?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Formula Help

Hi,

=IF(C4="","",if(C4="Weekly",4,2))

"Casey" wrote:

I am trying to figure out a formula in Excel 2000. Here is what I am trying
to do:

In one column I have a drop down menu with two options; "Weekly" and "2 per
Month". In the next column, I want these options to be represented by
numbers so if "Weekly" is selected, the number 4 would show up and if "2 per
Month" were chosen, the number 2 would display. I am able to do this. Here
is the formula I use:

=IF(C4="Weekly",4,2)

But what I was hoping I could do would be to have the cell blank if nothing
is selected. Right now, before anything is selected in the first column, a 2
shows in the second column. Any ideas how I can get rid of that until a
selection is made?

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default Formula Help

Thank you. Exactly what I needed.

"Eduardo" wrote:

Hi,

=IF(C4="","",if(C4="Weekly",4,2))

"Casey" wrote:

I am trying to figure out a formula in Excel 2000. Here is what I am trying
to do:

In one column I have a drop down menu with two options; "Weekly" and "2 per
Month". In the next column, I want these options to be represented by
numbers so if "Weekly" is selected, the number 4 would show up and if "2 per
Month" were chosen, the number 2 would display. I am able to do this. Here
is the formula I use:

=IF(C4="Weekly",4,2)

But what I was hoping I could do would be to have the cell blank if nothing
is selected. Right now, before anything is selected in the first column, a 2
shows in the second column. Any ideas how I can get rid of that until a
selection is made?

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Formula Help

your welcome, thanks for the feedback

"Casey" wrote:

Thank you. Exactly what I needed.

"Eduardo" wrote:

Hi,

=IF(C4="","",if(C4="Weekly",4,2))

"Casey" wrote:

I am trying to figure out a formula in Excel 2000. Here is what I am trying
to do:

In one column I have a drop down menu with two options; "Weekly" and "2 per
Month". In the next column, I want these options to be represented by
numbers so if "Weekly" is selected, the number 4 would show up and if "2 per
Month" were chosen, the number 2 would display. I am able to do this. Here
is the formula I use:

=IF(C4="Weekly",4,2)

But what I was hoping I could do would be to have the cell blank if nothing
is selected. Right now, before anything is selected in the first column, a 2
shows in the second column. Any ideas how I can get rid of that until a
selection is made?

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



All times are GMT +1. The time now is 09:14 PM.

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"