Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
torsorq
 
Posts: n/a
Default counting named in a row

Hi
I want to have 32 names in row A2:33 and each name at a 1 in row
B2:B33....if the name is in a disqualified list C2:C20 then make a -1 for
those names. if the same name act in another 32 names then add 1 to the first
1 =2, but still if the name is disqualified list : -1 .... is this simple ?
btw i´m very green

/Torsorq
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default counting named in a row

=-1*(COUNTIF($C$2:$C$20,A2)0)

will return minus 1 for disqualified

=1*(COUNTIF($D$2:$D$33,A2)0)

will return 1 for another 32 names list (assuming they are in D2:D33)

then use if function to test each row like

If you put the first formula in E2:E32 and the second formula
in F2:F32 in G2:G32 use

=If(E2=-1,-1,B2+F2)

copy down


--
Regards,

Peo Sjoblom

(No private emails please)


"torsorq" wrote in message
...
Hi
I want to have 32 names in row A2:33 and each name at a 1 in row
B2:B33....if the name is in a disqualified list C2:C20 then make a -1 for
those names. if the same name act in another 32 names then add 1 to the
first
1 =2, but still if the name is disqualified list : -1 .... is this simple
?
btw i´m very green

/Torsorq


  #3   Report Post  
torsorq
 
Posts: n/a
Default counting named in a row

sorry can´t get it to work ...have You tested it ?

/Torsorq

"Peo Sjoblom" wrote:

=-1*(COUNTIF($C$2:$C$20,A2)0)

will return minus 1 for disqualified

=1*(COUNTIF($D$2:$D$33,A2)0)

will return 1 for another 32 names list (assuming they are in D2:D33)

then use if function to test each row like

If you put the first formula in E2:E32 and the second formula
in F2:F32 in G2:G32 use

=If(E2=-1,-1,B2+F2)

copy down


--
Regards,

Peo Sjoblom

(No private emails please)


"torsorq" wrote in message
...
Hi
I want to have 32 names in row A2:33 and each name at a 1 in row
B2:B33....if the name is in a disqualified list C2:C20 then make a -1 for
those names. if the same name act in another 32 names then add 1 to the
first
1 =2, but still if the name is disqualified list : -1 .... is this simple
?
btw i´m very green

/Torsorq



  #4   Report Post  
Peo Sjoblom
 
Posts: n/a
Default counting named in a row

Yes

--
Regards,

Peo Sjoblom

(No private emails please)


"torsorq" wrote in message
...
sorry can´t get it to work ...have You tested it ?

/Torsorq

"Peo Sjoblom" wrote:

=-1*(COUNTIF($C$2:$C$20,A2)0)

will return minus 1 for disqualified

=1*(COUNTIF($D$2:$D$33,A2)0)

will return 1 for another 32 names list (assuming they are in D2:D33)

then use if function to test each row like

If you put the first formula in E2:E32 and the second formula
in F2:F32 in G2:G32 use

=If(E2=-1,-1,B2+F2)

copy down


--
Regards,

Peo Sjoblom

(No private emails please)


"torsorq" wrote in message
...
Hi
I want to have 32 names in row A2:33 and each name at a 1 in row
B2:B33....if the name is in a disqualified list C2:C20 then make a -1
for
those names. if the same name act in another 32 names then add 1 to the
first
1 =2, but still if the name is disqualified list : -1 .... is this
simple
?
btw i´m very green

/Torsorq




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
Replace a spreadsheets named cells/ranges with exact cell address. David McRitchie Excel Discussion (Misc queries) 0 September 28th 05 08:59 PM
Dynamic named range across multiple sheets babycody Excel Discussion (Misc queries) 3 July 24th 05 06:03 AM
Using a formula to create named range reference [email protected] Excel Worksheet Functions 4 June 29th 05 08:03 PM
can't move a named cell without breaking a hyperlink to that cell Snakeye Links and Linking in Excel 3 January 26th 05 11:57 PM
Named dynamic ranges, copied worksheets and graph source data WP Charts and Charting in Excel 1 November 28th 04 05:19 PM


All times are GMT +1. The time now is 05:40 AM.

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"