find missing numbers in sequence and report them in adjacent cells

jaamba123

New Member
Joined
Dec 11, 2016
Messages
2
hello and thank you for opening my message

I am a little stuck, I have tried for hours to solve it

I have column A with 1997 and Column B with 2004 in

I need help producing a formula that will look at A1 & B1 and report all the missing years in the sequence in the adjacent columns c1 d1 e1 etc.

it is also required to do it to A2 and B2, A3 and B3 and so on.

I hope someone can help me and I appreciate any pointers you may have.

James
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Welcome to the forum.

If I understand correctly:

Excel 2012
ABCDEFGHI
1Year 1Year 2Years between
219972004199819992000200120022003
32010201620112012201320142015
4

<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet2

Worksheet Formulas
CellFormula
C2=IF($A2+COLUMNS($C2:C2)>=$B2,"",$A2+COLUMNS($C2:C2))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



Put the formula in C2, then copy down and across as needed.

Hope this helps.a
 
Upvote 0
My friend, you have made a very confused person happy.

I really appreciate your help and this was a very kind thing you have done.

it works flawless and I have what I require,

thank you again

James
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,178
Members
448,871
Latest member
hengshankouniuniu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top