PC Review


Reply
Thread Tools Rate Thread

comprae cells

 
 
=?Utf-8?B?QXJuZSBIZWdlZm9ycw==?=
Guest
Posts: n/a
 
      16th Oct 2006
Hello! I have a long list of banks. For every bank there is a rating. The
rating consits of letters and sometimes a plus or minus sign eg AA-, BBB+, A.
On another spreadsheet I have a table that consists of ratings and mean
default rates. The table looks like:
  • AAA 0%
    AA 2%
    A 5%
    BBB 11,2%

What I want to do is to get the mean default rate for every bank based on
the rating. The problem is that the ratings for the banks have the plus/minus
also. Thus I want to ignore them and just pick the rating based on the
letters. Any help very much apreciated! Thanks alot!
 
Reply With Quote
 
 
 
 
WhytheQ
Guest
Posts: n/a
 
      16th Oct 2006
Not sure if you need to use code. A formula like this might help:

=VLOOKUP(LEFT(B66,LEN(B66)-1),C110,2,FALSE)

This assumes that:
the table is in range C110
the plus or minus sign is always only one character long at the end of
the string
the rating to be tested is located in cell B66

Hope this helps
J


Arne Hegefors wrote:

> Hello! I have a long list of banks. For every bank there is a rating. The
> rating consits of letters and sometimes a plus or minus sign eg AA-, BBB+, A.
> On another spreadsheet I have a table that consists of ratings and mean
> default rates. The table looks like:
>
  • > AAA 0%
    > AA 2%
    > A 5%
    > BBB 11,2%
    >
>
> What I want to do is to get the mean default rate for every bank based on
> the rating. The problem is that the ratings for the banks have the plus/minus
> also. Thus I want to ignore them and just pick the rating based on the
> letters. Any help very much apreciated! Thanks alot!


 
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
That document contains too many cells. At this time, spreadsheets inGoogle Docs only support up to 400000 cells Mark Microsoft Excel Misc 0 19th Jan 2011 03:08 PM
Setting of input cells as blue font and formula cells as black fon =?Utf-8?B?U3Vubnlza2llcw==?= Microsoft Excel Misc 2 14th May 2007 05:27 PM
Excel: match two cells in one sheet to two cells in another and return a third cells value Spence Microsoft Excel Worksheet Functions 2 19th Jul 2005 04:19 AM
Skip cells with TAB/SHIFT+TAB but allow arrow keys/mouse selection of skipped cells Wescotte Microsoft Excel Programming 1 6th Jun 2005 07:00 PM
A calculation to count all cells ='D' where the offset cells in range have dates <= todays date AlanN Microsoft Excel Misc 2 29th Jan 2004 03:57 PM


Features
 

Advertising
 

Newsgroups
 


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