Microsoft Excel chart query

Post it here, if it doesn't fit any of the above.

Moderators: User administrators, Moderators

Locked
User avatar
Louey
Registered user
Posts: 5265
Joined: 30 Sep 2005, 14:24
80-90 Mem No: 1108
Location: South side nr J3 M42, Birmingham

Microsoft Excel chart query

Post by Louey »

A bit off normal topic I know :roll:

If I've got a column of data containing YES and NO answers. How do I create a chart from it without having to create a COUNTIF statement???
Louey

▀▄▀▄▀▄▀▄█▓▒░ Camping is in my blood! ▒▓█▀▄▀▄▀▄▀▄▀

User avatar
Dan Wood
Registered user
Posts: 667
Joined: 04 Dec 2005, 12:02
80-90 Mem No: 2309
Location: Port Erin, Isle of Man

Post by Dan Wood »

I've been using Excel for years, and COUNTIF is the way I do it too!

You would have thought that you could do it easily in the newer versions, but I've never really looked. I 'cut my teeth' on Excel 97, so I still use all the tricks I had to with that...

COUNTIF doesn't take too long to do, luckily!

User avatar
Louey
Registered user
Posts: 5265
Joined: 30 Sep 2005, 14:24
80-90 Mem No: 1108
Location: South side nr J3 M42, Birmingham

Post by Louey »

Cheers Dan

I've worked out how to do it using Pivot tables/chart BUT its a bit too complex along with COUNIFs for 11 yr old kids - a few will get the idea but it will over the head of most

:D
Louey

▀▄▀▄▀▄▀▄█▓▒░ Camping is in my blood! ▒▓█▀▄▀▄▀▄▀▄▀

User avatar
ambivert
Registered user
Posts: 124
Joined: 05 Apr 2008, 19:07
80-90 Mem No: 6378
Location: Stroud, Gloucestershire

Post by ambivert »

The simplest way is to put the YES and NO's into separate columns.
Then you can use COUNTA on each column - it counts the non-blank cells.

TIP: the quickest way to separate YES/NO column into 2 is to copy the column and then do a Find & Replace on each column to remove the YES from one the NO from the other.

User avatar
Louey
Registered user
Posts: 5265
Joined: 30 Sep 2005, 14:24
80-90 Mem No: 1108
Location: South side nr J3 M42, Birmingham

Post by Louey »

Cheers Ambi, OK for us oldies to use functions like that but believe me a lot of year 7 (11 yr olds) would struggle. :D
Louey

▀▄▀▄▀▄▀▄█▓▒░ Camping is in my blood! ▒▓█▀▄▀▄▀▄▀▄▀

Locked