Fiat Coupe Forum
- Founded by Kayjey & James Northam
- Funded by the Club for the benefit of all owners
Fiat Coupe Club UK
join the club
Fiat Coupe Forum
 
» Announced
    Posting images


» Related sites
    Main club site
    fiatcoupe.net


» External data
    owners listed
 
Who's Online Now
0 registered members (), 166 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums69
Topics113,624
Posts1,341,348
Members1,807
Most Online731
Jan 14th, 2020
Top Posters(All Time)
barnacle 33,568
stan 32,122
Theresa 23,303
PeteP 21,521
bockers 21,071
JimO 17,917
Nigel 17,367
Edinburgh 16,834
RSS Feeds
Club Events
Club Information
Track Events
Rolling Road/RWYB
Social Events
Non-UK Events
Coupé Related Chat
Coupé Spotting
Coupé News/Press
Buying/Selling Advice
Insuring a Coupé
Basic FAQ's
How to Guides
Forum Issues
Technical Problems
General Maintenance
Styling
Tuning
Handling
ICE and Alarm
Coupés for Sale
Coupés Wanted
Parts for Sale
Parts Wanted
Group Buys
Business Forum
Other Vehicles for Sale/Wanted
Other Items for Sale/Wanted
Haggling/Offers
Ebay links
Other Cars
Other Websites
General Chat
Previous Thread
Next Thread
Print Thread
Excel help request #1503443
18/08/2014 09:21
18/08/2014 09:21
Joined: Nov 2006
Posts: 479
Northampton
srm6 Offline OP
Enjoying the ride
srm6  Offline OP
Enjoying the ride

Joined: Nov 2006
Posts: 479
Northampton
I'm sure this should be easy, but....

I have a datadump from a survey where all answers are numerical, but n/a answers are known as a mix of #NULL and 0.

With this data I am trying to work out the maximum, average and minimum numbers for each quesiton excluding the nils and #NULL's.

The NULL's don't seem to create any issues (in that the formulas seem to ignore them), and maximum is easy as the nils have no affect. Likewise AVERAGEIF allows the nils to be excluded on the average, but I need something equivalent to MINIF to set a "<>0" term, and yet this formula doesn't seem to exist....

Unfortunately I need to keep the nils for some other analysis (otherwise you could just do a find and replace with ""), so can anyone think of a way around this?

Thank you in advance!

Simon

Re: Excel help request [Re: srm6] #1503448
18/08/2014 09:55
18/08/2014 09:55
Joined: Dec 2005
Posts: 12,546
Northumberland
A
AndrewR Offline
I AM a Coop
AndrewR  Offline
I AM a Coop
A

Joined: Dec 2005
Posts: 12,546
Northumberland
If your range is, say, A1:A10 then:

=MIN(IF(IFERROR(A1:A10,0)>0,A1:A10))

Has to be entered using Ctrl-Shift-Enter, not just Enter and you have to be on Excel 2007 or later.


Dear monos, a secret truth.
Re: Excel help request [Re: srm6] #1503472
18/08/2014 13:04
18/08/2014 13:04
Joined: Nov 2006
Posts: 479
Northampton
srm6 Offline OP
Enjoying the ride
srm6  Offline OP
Enjoying the ride

Joined: Nov 2006
Posts: 479
Northampton
Thanks Andrew - works a treat.

I remember you talking about the black magic of array formulas a while back - looks like I need to get my head around them!

Re: Excel help request [Re: srm6] #1503491
18/08/2014 15:18
18/08/2014 15:18
Joined: Dec 2005
Posts: 12,546
Northumberland
A
AndrewR Offline
I AM a Coop
AndrewR  Offline
I AM a Coop
A

Joined: Dec 2005
Posts: 12,546
Northumberland
There is a non-array way of doing it:

=SMALL(A1:A10,COUNTIF(A1:A10,0)+1)

But it throws an error if any of the cells contain an error or if none of the cells are >0.


Dear monos, a secret truth.
Re: Excel help request [Re: srm6] #1503492
18/08/2014 15:19
18/08/2014 15:19
Joined: Dec 2005
Posts: 16,603
Corridor of Uncertainty
J
Jim_Clennell Offline
Forum veteran
Jim_Clennell  Offline
Forum veteran
J

Joined: Dec 2005
Posts: 16,603
Corridor of Uncertainty
Hip hip... Array?

Re: Excel help request [Re: srm6] #1503522
18/08/2014 18:18
18/08/2014 18:18
Joined: Dec 2005
Posts: 21,071
Chertsey in the Thames
bockers Offline
Hon Club Member 007
bockers  Offline
Hon Club Member 007
Forum Fossil

Joined: Dec 2005
Posts: 21,071
Chertsey in the Thames
Bliney, AndrewR is quiet for months and then an excel question appears and he is onto it like a butcher's dog.

If we mention Porsche 911 will Brewster also appear?

Re: Excel help request [Re: srm6] #1503615
19/08/2014 10:50
19/08/2014 10:50
Joined: Dec 2005
Posts: 12,546
Northumberland
A
AndrewR Offline
I AM a Coop
AndrewR  Offline
I AM a Coop
A

Joined: Dec 2005
Posts: 12,546
Northumberland
I've been checking in here every once in a while, but there don't seem to have been many fights debates for me to take part in.

Anyway, I'm down with the kids now - so if anybody wants to know what I'm up to I'd recommend checking out my brilliant and witty Twitter feed - @excelpope


Dear monos, a secret truth.

Powered by UBB.threads™ PHP Forum Software 7.7.1
(Release build 20190129)
PHP: 7.3.33 Page Time: 0.015s Queries: 15 (0.007s) Memory: 0.7671 MB (Peak: 0.8356 MB) Data Comp: Off Server Time: 2024-05-10 03:17:57 UTC