PC Review


Reply
Thread Tools Rate Thread

Between Function

 
 
Lynn Brown
Guest
Posts: n/a
 
      15th May 2009
Good Morning All
I have a whole workbook full of data. I have compiled a summary page, and
the results are now numbers with decimals. They want this number converted
to a word (ie: Fair, Poor, Good, etc). I can do the change to word when it
is just a solid number (ie: 3, 4, 5, etc) but is there a way to tell it that
if the cell value is between 3 & 4 (ie: number is 3.5) that the value would
equal "Fair". I don't want to round the numbers up so they don't have a
decimal, as it will effect the end result.

 
Reply With Quote
 
 
 
 
Rick Rothstein
Guest
Posts: n/a
 
      15th May 2009
Your "etc" didn't help any... can you show us all the *ranges* and the word
descriptions that go with them? Also, you posted in a programming
newsgroup... are you really looking for a VB code solution or were you after
a worksheet formula solution?

--
Rick (MVP - Excel)


"Lynn Brown" <(E-Mail Removed)> wrote in message
news:C28B90AC-2768-45BC-92AD-(E-Mail Removed)...
> Good Morning All
> I have a whole workbook full of data. I have compiled a summary page, and
> the results are now numbers with decimals. They want this number
> converted
> to a word (ie: Fair, Poor, Good, etc). I can do the change to word when
> it
> is just a solid number (ie: 3, 4, 5, etc) but is there a way to tell it
> that
> if the cell value is between 3 & 4 (ie: number is 3.5) that the value
> would
> equal "Fair". I don't want to round the numbers up so they don't have a
> decimal, as it will effect the end result.
>


 
Reply With Quote
 
Lynn Brown
Guest
Posts: n/a
 
      15th May 2009
I am not looking for VB solution, as the person that I am helping/advising
isn't that strong of an Excel user.
Currently, here are the numbers and values:
0 = No Skills
1 = Poor
2 = Fair
3 = Average
4 = Good
5 = Excellent

The actual data is a number from 0 - 5. Then they wanted an average by
category, so now the numbers are all decimal numbers. They still want the
numbers to be changed to the values indicated below, but we don't want to
round up 4.7 to 5 just to get a solid number. They would like 4.# to still
equal "Good"

"Rick Rothstein" wrote:

> Your "etc" didn't help any... can you show us all the *ranges* and the word
> descriptions that go with them? Also, you posted in a programming
> newsgroup... are you really looking for a VB code solution or were you after
> a worksheet formula solution?
>
> --
> Rick (MVP - Excel)
>
>
> "Lynn Brown" <(E-Mail Removed)> wrote in message
> news:C28B90AC-2768-45BC-92AD-(E-Mail Removed)...
> > Good Morning All
> > I have a whole workbook full of data. I have compiled a summary page, and
> > the results are now numbers with decimals. They want this number
> > converted
> > to a word (ie: Fair, Poor, Good, etc). I can do the change to word when
> > it
> > is just a solid number (ie: 3, 4, 5, etc) but is there a way to tell it
> > that
> > if the cell value is between 3 & 4 (ie: number is 3.5) that the value
> > would
> > equal "Fair". I don't want to round the numbers up so they don't have a
> > decimal, as it will effect the end result.
> >

>
>

 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      15th May 2009
Since your data runs from 0 to 5, it sounds like it would be almost
impossible to get a final rating of Excellent. In any event, try this
formula in Row 2 of your column devoted to displaying the word
descriptions...

=IF(A2="","",CHOOSE(INT(A2)+1,"No
Skills","Poor","Fair","Average","Good","Excellent"))

Note, I started the formula in Row 2 because I assumed there was header
information in Row 1. Also, obviously, change the two column A references to
whatever column actually has your numerical ratings.

--
Rick (MVP - Excel)


"Lynn Brown" <(E-Mail Removed)> wrote in message
news:3B09B6FA-0834-43CB-9EDE-(E-Mail Removed)...
>I am not looking for VB solution, as the person that I am helping/advising
> isn't that strong of an Excel user.
> Currently, here are the numbers and values:
> 0 = No Skills
> 1 = Poor
> 2 = Fair
> 3 = Average
> 4 = Good
> 5 = Excellent
>
> The actual data is a number from 0 - 5. Then they wanted an average by
> category, so now the numbers are all decimal numbers. They still want the
> numbers to be changed to the values indicated below, but we don't want to
> round up 4.7 to 5 just to get a solid number. They would like 4.# to
> still
> equal "Good"
>
> "Rick Rothstein" wrote:
>
>> Your "etc" didn't help any... can you show us all the *ranges* and the
>> word
>> descriptions that go with them? Also, you posted in a programming
>> newsgroup... are you really looking for a VB code solution or were you
>> after
>> a worksheet formula solution?
>>
>> --
>> Rick (MVP - Excel)
>>
>>
>> "Lynn Brown" <(E-Mail Removed)> wrote in message
>> news:C28B90AC-2768-45BC-92AD-(E-Mail Removed)...
>> > Good Morning All
>> > I have a whole workbook full of data. I have compiled a summary page,
>> > and
>> > the results are now numbers with decimals. They want this number
>> > converted
>> > to a word (ie: Fair, Poor, Good, etc). I can do the change to word
>> > when
>> > it
>> > is just a solid number (ie: 3, 4, 5, etc) but is there a way to tell it
>> > that
>> > if the cell value is between 3 & 4 (ie: number is 3.5) that the value
>> > would
>> > equal "Fair". I don't want to round the numbers up so they don't have
>> > a
>> > decimal, as it will effect the end result.
>> >

>>
>>


 
Reply With Quote
 
Lynn Brown
Guest
Posts: n/a
 
      15th May 2009
Thanks.

"Rick Rothstein" wrote:

> Since your data runs from 0 to 5, it sounds like it would be almost
> impossible to get a final rating of Excellent. In any event, try this
> formula in Row 2 of your column devoted to displaying the word
> descriptions...
>
> =IF(A2="","",CHOOSE(INT(A2)+1,"No
> Skills","Poor","Fair","Average","Good","Excellent"))
>
> Note, I started the formula in Row 2 because I assumed there was header
> information in Row 1. Also, obviously, change the two column A references to
> whatever column actually has your numerical ratings.
>
> --
> Rick (MVP - Excel)
>
>
> "Lynn Brown" <(E-Mail Removed)> wrote in message
> news:3B09B6FA-0834-43CB-9EDE-(E-Mail Removed)...
> >I am not looking for VB solution, as the person that I am helping/advising
> > isn't that strong of an Excel user.
> > Currently, here are the numbers and values:
> > 0 = No Skills
> > 1 = Poor
> > 2 = Fair
> > 3 = Average
> > 4 = Good
> > 5 = Excellent
> >
> > The actual data is a number from 0 - 5. Then they wanted an average by
> > category, so now the numbers are all decimal numbers. They still want the
> > numbers to be changed to the values indicated below, but we don't want to
> > round up 4.7 to 5 just to get a solid number. They would like 4.# to
> > still
> > equal "Good"
> >
> > "Rick Rothstein" wrote:
> >
> >> Your "etc" didn't help any... can you show us all the *ranges* and the
> >> word
> >> descriptions that go with them? Also, you posted in a programming
> >> newsgroup... are you really looking for a VB code solution or were you
> >> after
> >> a worksheet formula solution?
> >>
> >> --
> >> Rick (MVP - Excel)
> >>
> >>
> >> "Lynn Brown" <(E-Mail Removed)> wrote in message
> >> news:C28B90AC-2768-45BC-92AD-(E-Mail Removed)...
> >> > Good Morning All
> >> > I have a whole workbook full of data. I have compiled a summary page,
> >> > and
> >> > the results are now numbers with decimals. They want this number
> >> > converted
> >> > to a word (ie: Fair, Poor, Good, etc). I can do the change to word
> >> > when
> >> > it
> >> > is just a solid number (ie: 3, 4, 5, etc) but is there a way to tell it
> >> > that
> >> > if the cell value is between 3 & 4 (ie: number is 3.5) that the value
> >> > would
> >> > equal "Fair". I don't want to round the numbers up so they don't have
> >> > a
> >> > decimal, as it will effect the end result.
> >> >
> >>
> >>

>
>

 
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
User Function Question: Collect Condition in Dialog Box - But How toInsert into Function Equation? SteveM Microsoft Excel Programming 1 3rd Jan 2008 03:45 PM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft Dot NET Framework 1 22nd Nov 2007 11:36 AM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft ADO .NET 3 22nd Nov 2007 09:17 AM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft VB .NET 0 20th Nov 2007 04:24 AM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my fun DR Microsoft Dot NET 0 20th Nov 2007 04:24 AM


Features
 

Advertising
 

Newsgroups
 


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