Forums

General Betting

Welcome to Live View – Take the tour to learn more
Start Tour
There is currently 1 person viewing this thread.
Stans
01 Oct 10 12:42
Joined:
Date Joined: 19 Mar 01
| Topic/replies: 49 | Blogger: Stans's blog
In Colum A I have a list of numbers -

e.g
2
0
0
6
0
0
0

If the value is 0 i would like to replace it with the last non zero number from above.

e.g
2
2
2
6
6
6
6


Any ideas? Thanks
Show More
Loading...
Report Texas Pete October 1, 2010 12:47 PM BST
in col. B would it not be as simple as:

=if(a2=0,a1,a2)

or have i missed something
Report Stans October 1, 2010 12:50 PM BST
That would work if I want to replace a2 with a1. The issue I have is there is between 2 and 10 zeros and i want it to replace with the last non zero value.

I hope this explaination is a little better.

e.g.

2   
0
0
6
0
0
0
0
7
0
0

becomes

2
2
2
6
6
6
6
6
7
7
7


Cheers
Report conchords October 1, 2010 12:59 PM BST
starting at b2

if(a2=0,b1,a2)

You'll have to manually do the first line
Report Stans October 1, 2010 1:03 PM BST
Perfect cheers.
Post Your Reply
<CTRL+Enter> to submit
Please login to post a reply.

Wonder

Instance ID: 13539
www.betfair.com