#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 183
Default IF function

Hi, here is what I need
Headers Column F Probability Column G = Impact Column H = Rate

if F14 = H I want the H to remain visible but the number for calulations to
read 3
If F14 = M ............................................... the number for
calulations to read 2
if F14 = L ................................................ the number for
caluations to read 1

I have two columns that I want the text (H,M,or I) to show, but I need the
corresponding numbers to somehow be behind the scene so that the third column
H can calcualte the rating F14*G14 =
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,059
Default IF function

On Jul 30, 8:54 am, Sharon wrote:
I have two columns that I want the text (H,M,or I) to show,
but I need the corresponding numbers to somehow be behind
the scene so that the third column H can calcualte the rating F14*G14


The most straight-forward expression would be:

G14*if(F14="H", 3, if(F14="M", 2, 1))

Alternatively:

G14*(1 + 2*(F14="H") + (F14="M"))

I am assume that 1 is the correct factor even if F14 is not "L", "H"
or "M".


------ original posting -----

On Jul 30, 8:54*am, Sharon wrote:
Hi, here is what I need
Headers Column F *Probability Column G = Impact *Column H = Rate

if F14 = H I want the H to remain visible but the number for calulations to
read 3
If F14 = M ............................................... the number for
calulations to read 2
if F14 = L ................................................ the number for
caluations to read 1

I have two columns that I want the text (H,M,or I) to show, but I need the
corresponding numbers to somehow be behind the scene so that the third column
H can calcualte the rating F14*G14 =


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 183
Default IF function

Hi, the executives will enter and H, M, or L in both of the first to columns.
H is for high, M - Medium and L = Low Probability or Impact. If the
executive place an H under the Probability column I want it to calculate as
the #3 likewise if they enter M I want the calculation to be 2 and if they
enter an L I would like for the calculation to be a 1. Same for both the
Probability and Impact columns.

Sample of chart.

Probability Impact Rate (F*G)
H H 9
M H 6
L M 2

If the numbers were to be visible, they would read as below. The problem is
the executive doesn't want the numbers to show but rather the Letters.
3 3
2 3
1 2


"joeu2004" wrote:

On Jul 30, 8:54 am, Sharon wrote:
I have two columns that I want the text (H,M,or I) to show,
but I need the corresponding numbers to somehow be behind
the scene so that the third column H can calcualte the rating F14*G14


The most straight-forward expression would be:

G14*if(F14="H", 3, if(F14="M", 2, 1))

Alternatively:

G14*(1 + 2*(F14="H") + (F14="M"))

I am assume that 1 is the correct factor even if F14 is not "L", "H"
or "M".


------ original posting -----

On Jul 30, 8:54 am, Sharon wrote:
Hi, here is what I need
Headers Column F Probability Column G = Impact Column H = Rate

if F14 = H I want the H to remain visible but the number for calulations to
read 3
If F14 = M ............................................... the number for
calulations to read 2
if F14 = L ................................................ the number for
caluations to read 1

I have two columns that I want the text (H,M,or I) to show, but I need the
corresponding numbers to somehow be behind the scene so that the third column
H can calcualte the rating F14*G14 =



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default IF function

Try the following formula in cell C2 and copy it down as far as
needed:

=MATCH(A2,{"L","M","H"},0)*MATCH(B2,{"L","M","H"}, 0)

Hope this helps / Lars-Åke


On Wed, 30 Jul 2008 10:31:03 -0700, Sharon
wrote:

Hi, the executives will enter and H, M, or L in both of the first to columns.
H is for high, M - Medium and L = Low Probability or Impact. If the
executive place an H under the Probability column I want it to calculate as
the #3 likewise if they enter M I want the calculation to be 2 and if they
enter an L I would like for the calculation to be a 1. Same for both the
Probability and Impact columns.

Sample of chart.

Probability Impact Rate (F*G)
H H 9
M H 6
L M 2

If the numbers were to be visible, they would read as below. The problem is
the executive doesn't want the numbers to show but rather the Letters.
3 3
2 3
1 2


"joeu2004" wrote:

On Jul 30, 8:54 am, Sharon wrote:
I have two columns that I want the text (H,M,or I) to show,
but I need the corresponding numbers to somehow be behind
the scene so that the third column H can calcualte the rating F14*G14


The most straight-forward expression would be:

G14*if(F14="H", 3, if(F14="M", 2, 1))

Alternatively:

G14*(1 + 2*(F14="H") + (F14="M"))

I am assume that 1 is the correct factor even if F14 is not "L", "H"
or "M".


------ original posting -----

On Jul 30, 8:54 am, Sharon wrote:
Hi, here is what I need
Headers Column F Probability Column G = Impact Column H = Rate

if F14 = H I want the H to remain visible but the number for calulations to
read 3
If F14 = M ............................................... the number for
calulations to read 2
if F14 = L ................................................ the number for
caluations to read 1

I have two columns that I want the text (H,M,or I) to show, but I need the
corresponding numbers to somehow be behind the scene so that the third column
H can calcualte the rating F14*G14 =




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
ISBLANK function not working when cell is blank dut to function re mcmilja Excel Discussion (Misc queries) 9 May 7th 23 03:43 AM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


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