repeating data

AI Training: For Busy Decision Makers & Professionals Book now

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Repeating Data

Repeating Data

resolvedResolved · High Priority · Version 2010

Mathanki has attended:
Excel Advanced course
Excel Advanced - Formulas & Functions course

Repeating Data

Hi,

I am trying to import data from an excel sheet into an accounting software.

These are the rental invoices for the tenants. I have two items per invoice so I have the tenants name repeating in two rows on the excel spread sheet.

Eg:
12 Amherst Road:13/14 Amar Jay Gupta
12 Amherst Road:13/14 Amar Jay Gupta
12 Amherst Road:13/14 Charles Westbury
12 Amherst Road:13/14 Charles Westbury
12 Amherst Road:13/14 Christopher Elms
12 Amherst Road:13/14 Christopher Elms

I want to put in "Invoice numbers" on the next column like

12 Amherst Road:13/14 Amar Jay Gupta 100
12 Amherst Road:13/14 Amar Jay Gupta 100
12 Amherst Road:13/14 Charles Westbury 101
12 Amherst Road:13/14 Charles Westbury 101
12 Amherst Road:13/14 Christopher Elms 102
12 Amherst Road:13/14 Christopher Elms 102

Is there a way to automatically do the numbers rather than typing them in?

Thanks

RE: Repeating Data

Hello Mathanki,

Hope you enjoyed your Microsoft Excel Advanced courses with Best STL.

Thank you for your question regarding repeating data.

There are two things I don't follow:

1) Why you need repeating data?
2) Why you enter so much data into a single cell?

I presume that you do things this way to facilitate the export to your accounting program.

I have attached a file which uses a CONCATENATE function to join the tenant field with the invoice number. But, it does require the entry of the invoice numbers.

Take a look at the sheet and see if this will help.



I hope this resolves your question. If it has, please mark this question as resolved.

If you require further assistance, please reply to this post. Or perhaps you have another Microsoft Office question?

Have a great day.
Regards,

Rodney
Microsoft Office Specialist Trainer

Attached files...

Concatenate.xlsx

Fri 16 Aug 2013: Automatically marked as resolved.


 

Excel tip:

Autonumber in Excel

To create an autonumber field, can use the Offset() function.

In cell A1, enter the number 1.
Then in cell A2, enter this formula:

=OFFSET(A2,-1,0)+1

Then copy the formula from cell A2, down as far as you need.

See also: Autonumber in Excel forum post.

View all Excel hints and tips


Server loaded in 0.12 secs.