Formula help

Bellablu

New Member
Joined
Oct 31, 2013
Messages
16
Hi,

I am trying to write a formula to give me one piece of info from one sheet into another with multiple criteria’s. I have tried doing a Match, IF & Lookup formula but I am not having any success. I need some help from someone with a little more expertise.

I am trying to write a formula that will give me the value from sheet 1 column A in Sheet 2 Column E & G respectively. The criteria would be the Cost Centre Code (Sheet 1 Column E / Sheet 2 Column B) & the Amount (Sheet 1 Column J / Sheet 2 Column D & F respectively. Hope this makes sense.

Any guidance will be greatly appreciated.</SPAN>
Sheet 1
<o:p> </o:p>
A<o:p></o:p>
B<o:p></o:p>
C<o:p></o:p>
D<o:p></o:p>
E<o:p></o:p>
F<o:p></o:p>
G<o:p></o:p>
H<o:p></o:p>
I<o:p></o:p>
J<o:p></o:p>
1<o:p></o:p>
Billing Period<o:p></o:p>
Invoice Dates<o:p></o:p>
Service<o:p></o:p>
Account ID<o:p></o:p>
Cost Centre Code<o:p></o:p>
STD Class Code<o:p></o:p>
Std Class Description<o:p></o:p>
Journal Date<o:p></o:p>
Description<o:p></o:p>
Amount<o:p></o:p>
2<o:p></o:p>
Mar'14 - May'14<o:p></o:p>
6 Mar - 16 Jun 214<o:p></o:p>
Water<o:p></o:p>
79CC04W324111<o:p></o:p>
79CC04W<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
7 Jul 14<o:p></o:p>
Lot 1<o:p></o:p>
192.22<o:p></o:p>
3<o:p></o:p>
Apr'14 - Jun'14<o:p></o:p>
1 Apr - 30 Jun 14<o:p></o:p>
Sewerage<o:p></o:p>
79CC04W324111<o:p></o:p>
79CC04W<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
7 Jul 14<o:p></o:p>
Lot 2<o:p></o:p>
190.94<o:p></o:p>
4<o:p></o:p>
Jun'14<o:p></o:p>
21 May - 20 Jun 14<o:p></o:p>
Water<o:p></o:p>
79PC01A324111<o:p></o:p>
79PC01A<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
8 Jul 14<o:p></o:p>
Lot 3<o:p></o:p>
784.13<o:p></o:p>
5<o:p></o:p>
Jun'14<o:p></o:p>
21 May - 20 Jun 14<o:p></o:p>
Water<o:p></o:p>
79PC01A324111<o:p></o:p>
79PC01A<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
8 Jul 14<o:p></o:p>
Lot 4<o:p></o:p>
17,115.26<o:p></o:p>
6<o:p></o:p>
May'14<o:p></o:p>
23 Apr - 20 May 14<o:p></o:p>
Water<o:p></o:p>
79PC01A324111<o:p></o:p>
79PC01A<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
11 Jul 14<o:p></o:p>
Lot 5<o:p></o:p>
-643.15<o:p></o:p>
7<o:p></o:p>
Jun'14<o:p></o:p>
21 May - 20 Jun 14<o:p></o:p>
Water<o:p></o:p>
79PC01A324111<o:p></o:p>
79PC01A<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
11 Jul 14<o:p></o:p>
Lot 6<o:p></o:p>
-784.13<o:p></o:p>
8<o:p></o:p>
Jun'14<o:p></o:p>
15 May - 17 Jun 14<o:p></o:p>
Water<o:p></o:p>
79PW01T324111<o:p></o:p>
79PW01T<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
8 Jul 14<o:p></o:p>
Lot 7<o:p></o:p>
3,885.30<o:p></o:p>
9<o:p></o:p>
Jun'14<o:p></o:p>
24 May - 23 Jun 14<o:p></o:p>
Water<o:p></o:p>
79QD02D324111<o:p></o:p>
79QD02D<o:p></o:p>
324111<o:p></o:p>
Water And Sewerage<o:p></o:p>
11 Jul 14<o:p></o:p>
Lot 8<o:p></o:p>
3,921.73<o:p></o:p>

<TBODY> </TBODY>

Sheet 2
<o:p> </o:p>
A<o:p></o:p>
B<o:p></o:p>
C<o:p></o:p>
D<o:p></o:p>
E<o:p></o:p>
F<o:p></o:p>
G<o:p></o:p>
1<o:p></o:p>
Cost Centre<o:p></o:p>
Cost Centre
2014-2015<o:p></o:p>
Address<o:p></o:p>
Period 1 Charges<o:p></o:p>
Billing Period<o:p></o:p>
Period 2 Charges<o:p></o:p>
Billing Period<o:p></o:p>
2<o:p></o:p>
79CC04T<o:p></o:p>
79CC04T<o:p></o:p>
Lot 1<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
3<o:p></o:p>
79CC04W<o:p></o:p>
79CC04W<o:p></o:p>
Lot 2<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
4<o:p></o:p>
79PB01A<o:p></o:p>
79PC01A<o:p></o:p>
Lot 3<o:p></o:p>
192.22 <o:p></o:p>
<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
5<o:p></o:p>
79PB01D<o:p></o:p>
79PC01D<o:p></o:p>
Lot 4<o:p></o:p>
16,472.11 <o:p></o:p>
<o:p></o:p>
11,592.95 <o:p></o:p>
<o:p></o:p>
6<o:p></o:p>
79PW01T<o:p></o:p>
79PW01T<o:p></o:p>
Lot 5<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
9,360.89 <o:p></o:p>
<o:p></o:p>
7<o:p></o:p>
79QD02D<o:p></o:p>
79QD02D<o:p></o:p>
Lot 6<o:p></o:p>
3,885.30 <o:p></o:p>
<o:p></o:p>
2,998.10 <o:p></o:p>
<o:p></o:p>
8<o:p></o:p>
79QD03A<o:p></o:p>
79QD03A<o:p></o:p>
Lot 7<o:p></o:p>
3,921.73 <o:p></o:p>
<o:p></o:p>
3,549.12 <o:p></o:p>
<o:p></o:p>
9<o:p></o:p>
1,508.40 <o:p></o:p>
<o:p></o:p>
1,088.82 <o:p></o:p>
<o:p></o:p>
10<o:p></o:p>
79PJ23A<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
0.00 <o:p></o:p>
<o:p></o:p>
11<o:p></o:p>
25,979.76 <o:p></o:p>
<o:p></o:p>
28,589.88 <o:p></o:p>
<o:p></o:p>

<TBODY>
</TBODY>
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi,

an attempt, I cannot check numbers in column J sheet1 and column B sheet2: there could be hidden decimals.

=IFERROR(INDEX(SHEET1!$A$2:$A$100,MATCH($B2&D2,INDEX(SHEET1!$E$2:$E$100&SHEET1!$J$2:$J$100,0),0)),"")

Just for sharing a first formula.

Cheers
 
Upvote 0
I'm unable to understand, which 2nd billing period and amount correspond to Lot 1 - there are only one row with Lot1 in source table (so only one billing period and charge amount), and second row with the same cost centre name has Lot 2...
 
Upvote 0

Forum statistics

Threads
1,214,958
Messages
6,122,475
Members
449,087
Latest member
RExcelSearch

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