excel to return data based on number inserted

syamsulamri

New Member
Joined
Oct 2, 2014
Messages
9
Hi excel expert,
is there any formula taht i can use as per data below:

Before
AB
1abcxyz
2
3
4
5
6
7
8
9

<tbody>
</tbody>


After
AB
1abcxyz
226
3
4abcxyz
5abcxyz
6xyz
7xyz
8xyz
9xyz

<tbody>
</tbody>



when i put number in cell a2 (2), automatically abc will appear in call a4 and a5
when i put number in cell B6 (6) automatically xyz will appear in cell b4 to b9.

Is this possible?

Thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi,

May be this:


Book1
AB
1abcxyz
226
3
4abcxyz
5abcxyz
6xyz
7xyz
8xyz
9xyz
10
11
12
Sheet308
Cell Formulas
RangeFormula
A4=IF(COUNTIF(A$3:A3,A$1))


A4 formula copied down and across as far as needed.
 
Upvote 0
Try

Formula in A4
=IF(ROWS(A$4:A4)>A$2,"",A$1)
copy down to as many rows as you want

Formula in B4
=IF(ROWS(B$4:B4)>B$2,"",B$1)
copy down to as many rows as you want

M.
 
Upvote 0

Forum statistics

Threads
1,216,058
Messages
6,128,538
Members
449,456
Latest member
SammMcCandless

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