Thanks:  0
Likes:  0

# Thread: More of a formula question

1. ## More of a formula question

I have column A, where row 1 starts with 1 and each subsequent row adds 1. For example:

Column A
1
2
3
4
5
...
100

In column B, row 1 starts with 3. Row 100 ends with 1.

I need a formula that will fill in column B with the appropriate value. Here's how it should look:

ColumnA ColumnB
0 3.00
1 2.98
2 2.96
3 2.94
4 2.92
5 2.90
6 2.88
7 2.86
8 2.84
9 2.82
10 2.80
...
100 1.00

2. ## Re: More of a formula question

If you put 3.00 in B1 and 2.98 in B2, select both cells and double click the bottom right hand corner of B2 it will autofill to where your data in column A ends in that pattern.

If column A was empty you would put 3.00 in B1 and 2.98 in B2, select both cells and left click and hold the bottom right hand corner of B2 and drag down to row 101.

3. ## Re: More of a formula question

Hi allen121

This will work (place in B1 and drag down to B100):

Code:
`=3-(((A1-1)/100)*2)`
except that your data sets are inconsistent across the two examples.

Your first row in your first data set starts at 1 (A1 = 1), yet your second data set starts at 0. Which is correct?

Cheers

pvr928

4. ## Re: More of a formula question

Sorry about that. The second data set is the correct one.

ColumnA ColumnB
0 3.00
1 2.98
2 2.96
3 2.94
4 2.92
5 2.90
6 2.88
7 2.86
8 2.84
9 2.82
10 2.80
...
100 1.00

5. ## Re: More of a formula question

Then:

Code:
`=3-(((A1)/100)*2)`
in B1 and copy down to B101.

Cheers

pvr928

6. ## Re: More of a formula question

and what I posted in post number 2 still stands.