training excel vba - merge

Public Schedule Face-to-Face & Virtual Instructor-Led Training - View dates & book

• Home
• Courses
• Promotions
• Schedule
• Formats
• Our Clients

Forum home » Delegate support and help forum » » training excel vba - Merge

# training excel vba - Merge

Resolved · Low Priority · Version Standard

### Merge

How do I merge information contained in sheet 1 and sheet 2 into one document onto sheet 3.

### RE: merge

Depending on the format, layout and content of the data you could use several techiniques:

1.
If the data is structured identically on sheet 1 and 2, then use CONSOLIDATE RANGES

2.
If the data is differently structured, then you may need to design a more tailored approach using other skills like 3-D formulas, or custom formulae.

I recommend reading through the Excel HELP file, specifically "About consolidating data", which wil detail the various ways you can approach your challenge.

Once you have done so, let us know if you find some next steps to work on.

Training courses

Training information:

 Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions What does 'Resolved' mean? Any suggestions, questions or comments? Please post in the Improve the forum thread.

### Use RANDBETWEEN to generate random numbers

There may be occassions where you need to generate random numbers in your spreadsheet. Use the RANDBETWEEN function to generate random numbers between two values that you specify.

The function looks like this:

=randbetween(LOW,HIGH)

where LOW is the lowest number you want generated; and HIGH is the highest number you want generated.

This formula will work with both positive and negative LOWs and HIGHs. Also it will only generate integer numbers unless forced to do otherwise by the following:

=randbetween(LOW*10^PRECISION,
HIGH*10^PRECISION)/(10^PRECISION).

where PRECISION represents the levels of decimal precision needed (i.e. if you need numbers with one decimal place, PRECISION would be 1; 2 for two decimal places and so on).

One final note, if the RANDBETWEEN formula does not work in your spreadsheet or returns a "#NAME" error, you need to install the Analysis Toolpak Add-In. You will need to press F2 then Enter following the installation.

View all Excel hints and tips

Server loaded in 0.08 secs.