LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How Do I assign a numeric value to a text entry?

in the cells under the points column

=If(cell to left = "","",1)

replace the 1 with 2 or 3 for the other columns.

so if cell C2

=if(B2="","",1)

assuming points are in C, E, G and names in B, D, F all on Sheet1.

=sumif(sheet1!B:B,"Joe",Sheet1!C:C) + sumif(sheet1!D:D,"Joe",Sheet1!E:E) +
sumif(sheet1!F:F,"Joe",Sheet1!G:G)

you can replace "Joe" with a cell reference on that sheet that contains Joe.
then you can put this formula next to a list of names and drag fill down the
column.

=sumif(sheet1!B:B,B2,Sheet1!C:C) + sumif(sheet1!D:D,B2,Sheet1!E:E) +
sumif(sheet1!F:F,B2,Sheet1!G:G)

for example with B2 on Sheet2 containing Joe.

--
Regards,
Tom Ogilvy


"KathyDent1976" wrote in
message ...

Okay.. It's been a while since I've had my Excel courses. Here's the
scenario...

I have a worksheet that is tracking 'points' for a real estate sales
contest. Certain transactions performed with a property are 'worth'
more points than others. Here's an example of what the columns look
like:
------------ --------- -------------- ----------- --------------
-------------------- --------------
Address |-Sale-- |-Points: 1--|--Listing--|-Points: 2--|-In House
Sale--|--Points:3--
----------- -------- -------------- ----------- --------------
-------------------- --------------
123 A St.| Joe S. |------1------ |-Jane S.--|------2------|---Jill
S.------------|-----3-------
------------ -------- -------------- ----------- --------------
-------------------- --------------
456 B St.|---------|--------------| Sally T. |------2 ------|--Dave
R.---------|-----3--------
------------- --------- --------------- ------------ ---------------
--------------------- --------------
My question is: How do I formulate the 'Points' cells to automatically
populate with the correct number (1, 2, 3 points) just by typing text
(the salesperson's name) into the column beside it? ALSO, how do I
calculate all the points each salesperson has earned on another
worksheet if their name appears in different columns and rows
throughout the worksheet (without doing =SUM ([and CTRL+clicking all
the different cells]) )??

Please Help!
-KLD


--
KathyDent1976
------------------------------------------------------------------------
KathyDent1976's Profile:

http://www.excelforum.com/member.php...o&userid=15013
View this thread: http://www.excelforum.com/showthread...hreadid=266312



 
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
Assign text to numeric value Reno Excel Discussion (Misc queries) 5 January 27th 10 02:02 AM
How do I assign a numeric value to a letter IASG Excel Worksheet Functions 2 November 28th 08 10:35 AM
How do I assign a numeric value to text? IE cell = yes then 1 rrr Excel Discussion (Misc queries) 7 September 28th 06 02:01 AM
Extract just numeric part of mixed text/number entry? Heidi Excel Worksheet Functions 7 June 1st 06 07:33 PM
How do I assign a numeric value to a text letter Shaun Excel Discussion (Misc queries) 2 September 18th 05 12:24 AM


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