Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

excel experts..

Thread Tools
 
Search this Thread
 
Old 13 March 2007, 01:04 PM
  #1  
ChristianR
Scooby Regular
Thread Starter
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Default excel experts..

hi, need your help on a forumla for excel.

I have column H which has either Bike or Car in it.
column J has either Yes or No in it.

I want a formula that will count all fields which has Bike and Yes and give me a total, and a sep one for cars.

So I can clearly see how many cars or bikes are entered.

Thanks.
Old 13 March 2007, 01:29 PM
  #2  
DemonDave
Scooby Regular
iTrader: (13)
 
DemonDave's Avatar
 
Join Date: Jan 2001
Location: Midlands - between notts and derby !
Posts: 4,997
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by ChristianR
hi, need your help on a forumla for excel.

I have column H which has either Bike or Car in it.
column J has either Yes or No in it.

I want a formula that will count all fields which has Bike and Yes and give me a total, and a sep one for cars.

So I can clearly see how many cars or bikes are entered.

Thanks.
add a column K with the formula =H1&"-"&J1 for each row

then at the bottom of that column = COUNTIF(K1:K2,"bike-yes") repeat for "car-yes"

that will do it

Last edited by DemonDave; 13 March 2007 at 01:31 PM.
Old 13 March 2007, 01:34 PM
  #3  
DJ Dunk
Moderator
Support Scoobynet!
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Default

I'd do it slightly differently . . .

=SUM(IF(H2:H65536="Bike",IF(J2:J65536="Yes",1,0),0 ))

You'd enter that and press Ctrl+Shift+Enter to tell Excel it must treat this as an array formula.
Old 13 March 2007, 02:00 PM
  #4  
chriswsti05
Scooby Regular
iTrader: (1)
 
chriswsti05's Avatar
 
Join Date: Mar 2006
Location: SE London
Posts: 69
Likes: 0
Received 0 Likes on 0 Posts
Default

or use a pivot table !
Old 13 March 2007, 02:24 PM
  #5  
ChristianR
Scooby Regular
Thread Starter
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Default

cheers guys, dj dunk's worked perfectly
Old 13 March 2007, 05:14 PM
  #6  
ChristianR
Scooby Regular
Thread Starter
iTrader: (1)
 
ChristianR's Avatar
 
Join Date: May 2001
Location: Europe
Posts: 6,329
Likes: 0
Received 1 Like on 1 Post
Default

One more thing... is this possible?

As mentioned above, column H has either Bike or Car in it, column J has either Yes or No in it. As well as this I have column B & C. B has a number in it, C has a name.

I would like a query that will check to see if column H = Car, and column J = Yes. If that is matched, it will the pull all the people who has this info and display columns b & c in two new fields in the spreadsheet, and if possible display them in column b order.

I know lot to ask!

thanks
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
28 December 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
18 November 2015 07:03 AM
leg200
Subaru Parts
5
07 October 2015 07:31 AM
has-scooby
Subaru Parts
4
06 October 2015 03:47 PM
bluebullet29
General Technical
9
05 October 2015 02:17 PM



Quick Reply: excel experts..



All times are GMT +1. The time now is 07:39 PM.