Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Character as a Number

Is the way to do this with If statements or does someone have a better idea
(I sure hope so!)?
A character in column A = 0; char in col B=2; char in col C=4; char in col
D=6 and so on. In a row, only one character can be put in a row in one of the
four columns, and the same character must always be used consistently. The
row is then summed and a percentage taken from another cell. For example, in
Row 2, there's an 'x' in col C - the sum of the row would be 4. Clear? (as
mud); in Row 3, there's an 'x' in Col D so the sum of the row would be 6.
Thanks!!! Jani
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Character as a Number

=(MATCH("*",A1:E1,0)-1)*2
for the first four cells in row 1

No IFs were needed
--
Gary''s Student - gsnu200805
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Character as a Number

I don't understand the formula and would appreciate it if you would tell me
how this works. It is so close. What I'm finding, however, is that when an *
is put in a cell in a row the formula works fine but it allows another * to
be added to the same row and that can't be allowed. How would this formula be
changed to accomodate that? Would it be to count the *'s and if more than one
have a statement displayed. Appreciate your help very much!!! Jani

"Gary''s Student" wrote:

=(MATCH("*",A1:E1,0)-1)*2
for the first four cells in row 1

No IFs were needed
--
Gary''s Student - gsnu200805

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Character as a Number

I got it figured out! Thanks!

"Gary''s Student" wrote:

=(MATCH("*",A1:E1,0)-1)*2
for the first four cells in row 1

No IFs were needed
--
Gary''s Student - gsnu200805

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Character as a Number

Preventing more than one cell from being filled can be done with Data
Validation
--
Gary''s Student - gsnu200805
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
Is the first character a number or letter bactfarmer Excel Worksheet Functions 13 April 22nd 23 09:02 PM
Cvt number to character GKW in GA Excel Discussion (Misc queries) 3 August 8th 07 03:52 PM
Number of character in one cell. Aom Excel Worksheet Functions 1 April 25th 06 05:03 AM
remove cr character from a + number and change number to - 159cr Cr character on numbers Excel Worksheet Functions 3 March 10th 06 10:34 PM
Why does last number of a 16 character number always change to 0? FALCON Excel Discussion (Misc queries) 2 February 7th 06 11:16 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"