Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Multi IF statament

I am trying to build an IF statement that would apply and I could copy
accross as a formula. I want to include in the cell C3 an IF query that would
populate the cell based on the value in Column B3, B4, B5 etc.

If the cell in Column B is "c" then I need to return a value 3, if it is "d"
then return a value 4, if it is "e" then return a value 5. There could be
multiple iterations in the same column, multiple a/b/c/d etc. Then in the
next cell (column) have the same function? Hope this makes sense
ROW c d e f g h
COLUMN
3 c 3 3 3 3 3 3
4 d
5 e
6 f
7 g
8 h
9 c 9 9 9 9 9 9
10 d
11 e
12 f
13 g

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Multi IF statament

Hazarding some thoughts ..

Presuming the single lower case alphas: a,b,c,d,... z
are running in B3 down

Put in C3: =IF(B3="","",CODE(B3)-96)
Copy C3 down to return the required numeric values in the column
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"AMM19" wrote:
I am trying to build an IF statement that would apply and I could copy
accross as a formula. I want to include in the cell C3 an IF query that would
populate the cell based on the value in Column B3, B4, B5 etc.

If the cell in Column B is "c" then I need to return a value 3, if it is "d"
then return a value 4, if it is "e" then return a value 5. There could be
multiple iterations in the same column, multiple a/b/c/d etc. Then in the
next cell (column) have the same function? Hope this makes sense
ROW c d e f g h
COLUMN
3 c 3 3 3 3 3 3
4 d
5 e
6 f
7 g
8 h
9 c 9 9 9 9 9 9
10 d
11 e
12 f
13 g

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Multi IF statament

The earlier suggestion presumes
you want the numbers for: a,b,c,d,... z (in col B)
returned as: 1,2,3,4,...26 (in col C)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
multi column of sumif birdsting Excel Worksheet Functions 3 May 17th 06 01:10 PM
VLOOKUP and Multi Lists dpatte601 New Users to Excel 6 May 17th 06 10:40 AM
VLOOKUP and Multi Lists dpatte601 Excel Worksheet Functions 0 May 9th 06 03:42 AM
Multi user Lins Excel Discussion (Misc queries) 2 August 6th 05 04:03 PM
Multi pick into database Sacco7 Excel Worksheet Functions 0 November 5th 04 04:13 PM


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