Auto Splitting of Data to 2 Worksheets

Bellablu

New Member
Joined
Oct 31, 2013
Messages
16
Hi,

I am creating a workbook for other users to manage money receipting. Problem is receipted data it is processed by two different areas & the data needs to be split & sent respectivly. I am trying to make it simple for the areas receiving the monies as this is not their primary job I am dealing with numerous staff with different skill sets & knowledge.

I have tried to attach my workbook & images but I am not having any luck.

Basically I want the receivers to complete sheet one only of the Cash Book.

I am now trying to work a macro / formula / whatever to auto popuate the further two sheets isolating the Cash/Cheque & EFTPOS payments, which in turn can be just printed & sent off to their respective areas.

Can anyone offer assistance or a solution.

Much appreciated.
 
Hi Bellablu,

The above formula is known as an array formula. For Excel to know that you are entering an array formula, you need to use Ctrl+Shift+Enter to confirm it instead of just enter.

1) Copy the formula.
2) Highlight the cell you want the formula in, and hit F2 on the keyboard to go into edit mode.
3) Paste the formula.
4) Hold Ctrl and Shift and hit Enter (while still holding Ctrl+Shift).

Let me know how it works.
 
Upvote 0

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi Ben ,

I am doing well, I can actually get the formula pasted into the cells ok now. Unfortunatly I am getted the responce "EFTPOS" in every cell, which part of the formula (if any) do I adjust to fix that, or am I not ment to past it into every cell accross the sheet. I know I am missing something, just not sure what it is.


A</SPAN>B</SPAN>C</SPAN>D</SPAN>E</SPAN>F</SPAN>G</SPAN>H</SPAN>I</SPAN>
1</SPAN>Transaction type:</SPAN>EFTPOS</SPAN>
2</SPAN>
3</SPAN>Payment Method</SPAN>Date</SPAN>Receipt #</SPAN>Name</SPAN>Amount Received (GST Inc)</SPAN>Check</SPAN>Permit</SPAN>Permit</SPAN>Licence</SPAN>
4</SPAN>EFTPOS</SPAN>EFTPOS</SPAN>EFTPOS</SPAN>
5</SPAN>

<TBODY>
</TBODY><COLGROUP><COL><COL><COL><COL><COL><COL><COL span=4></COLGROUP>
 
Upvote 0
I'm not sure. Can you copy and paste the formula that is in each of the cells, so I can troubleshoot?

A4:
B4:
C4:
 
Upvote 0
Hi Ben,

I had another play with it.

I again pasted the formula in A4 as per the Shift+Ctl+Enter direction & then held the cell (A4) & dragged it along the row & it populated the required data in all the cells - win one for me yay

I then dragged down the 'A' column & then accross each of the rows & guess what, fabulous it worked & gave me all the correct data - win two for me yay

Now that I have it working, I want to understand the formula, especially if someone screws with it. So if its ok with you I may need to you to tell me what each bit of the formula works as I am working through it.

Thanks so much for your help it is so appreciated.

Cheers

Narene
 
Upvote 0
Unfortunatly 'You Tube' is blocked at work :(, but I will watch it at home tonight.

I have the EFTPOS page all set up & it is working great, thank you so much for that.

I am trying to match the formula info the cells & sheets to understand each part of it. Beacuse the next sheet has two variables 'Cash' & 'Chq" to draw on.

How & where do I adjust the formula to go for the two.
 
Upvote 0
You should be able to simply change the value in cell B1 on the EFTPOS tab to Cash, and the values will change. Thus is you want them on seperate worksheets, you can copy the worksheet, and just change the value in cell B1.
 
Upvote 0
Hi Ben,

I have done that & it brings the cash transactions in fine. The problem being in that second sheet I need to bring both 'Cash' & 'Chq' transactions in, & when I put in the B1 cell 'cash' 'Chq' it causes a drama. So I need to adjust the formula, but I am unsure of which part to adjust.

Hope that make sense.

Narene
 
Upvote 0
Ok, I misunderstood you before. Try putting the criteria in B1 and C1 (so Cash and Cheque, it doesn't matter which order). And use this formula in A4:

=IF(ROWS(A$3:A3)<=SUMPRODUCT(COUNTIF('Transaction Data'!$A$2:$A$999,$B$1:$C$1)),INDEX('Transaction Data'!A$2:A$999,SMALL(IF('Transaction Data'!$A$2:$A$999=$B$1:$C$1,ROW('Transaction Data'!$A$2:$A$999)-ROW('Transaction Data'!$A$2)+1),ROWS(A$4:A4))),"")


Excel 2010
ABCDEFGHI
1Transaction type:CashCheque
2
3Payment MethodDateReceipt #NameAmount Received (GST Inc)CheckPermitPermitLicence
4Cheque30/10/13231John Doe4040
5Cash31/10/13233Darren Loser2020
6Cheque41285234Brad Walks44
7Cash41316236Jane Doe80
8Cheque41316237Hanry Whinst20
cashchq
Cell Formulas
RangeFormula
A4{=IF(ROWS(A$3:A3)<=SUMPRODUCT(COUNTIF('Transaction Data'!$A$2:$A$999,$B$1:$C$1)),INDEX('Transaction Data'!A$2:A$999,SMALL(IF('Transaction Data'!$A$2:$A$999=$B$1:$C$1,ROW('Transaction Data'!$A$2:$A$999)-ROW('Transaction Data'!$A$2)+1),ROWS(A$4:A4))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Hi Ben
Guess what it all works. Thank you for you help & patience with me doing this & constantly asking Q's. It is so very, very much appreciated :)

Narene
 
Upvote 0

Forum statistics

Threads
1,216,441
Messages
6,130,643
Members
449,585
Latest member
Nattarinee

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