formula for combining

Yossi

New Member
Joined
Aug 7, 2012
Messages
44
thanks for taking your time and trying to help out


i would like book1 to be the results from book2 plus book3 in a formula

[TABLE="class: cms_table_cms_table, width: 100, align: left"]
<tbody>[TR]
[TD]book1[/TD]
[/TR]
[TR]
[TD]b[/TD]
[/TR]
[TR]
[TD]c[/TD]
[/TR]
[TR]
[TD]d[/TD]
[/TR]
[TR]
[TD]e[/TD]
[/TR]
[TR]
[TD]f[/TD]
[/TR]
[TR]
[TD]g[/TD]
[/TR]
[TR]
[TD]l[/TD]
[/TR]
[TR]
[TD]t[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="class: cms_table_cms_table, width: 100"]
<tbody>[TR]
[TD]book2[/TD]
[TD]book3[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]g[/TD]
[TD]d[/TD]
[/TR]
[TR]
[TD]l[/TD]
[TD]e[/TD]
[/TR]
[TR]
[TD]t[/TD]
[TD]f[/TD]
[/TR]
</tbody>[/TABLE]

 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
With book 2 and book 3 in columns A and B (let's say from A1:B8), put this array formula in C2 (you must leave C1 blank above it) and confirm it with CTRL+SHIFT+ENTER:

=IF(ISNA(INDEX($A$1:$A$8,MATCH(0,COUNTIF(C$1:C1,$A$1:$A$8),0))),INDEX($B$1:$B$8, MATCH(0,COUNTIF(C$1:C1,$B$1:$B$8),0)),INDEX($A$1:$A$8, MATCH(0,COUNTIF(C$1:C1, $A$1:$A$8),0)))
 
Upvote 0
thanks for taking your time and trying to help out


i would like book1 to be the results from book2 plus book3 in a formula

[TABLE="class: cms_table_cms_table, width: 100, align: left"]
<TBODY>[TR]
[TD]book1
[/TD]
[/TR]
[TR]
[TD]b
[/TD]
[/TR]
[TR]
[TD]c
[/TD]
[/TR]
[TR]
[TD]d
[/TD]
[/TR]
[TR]
[TD]e
[/TD]
[/TR]
[TR]
[TD]f
[/TD]
[/TR]
[TR]
[TD]g
[/TD]
[/TR]
[TR]
[TD]l
[/TD]
[/TR]
[TR]
[TD]t
[/TD]
[/TR]
</TBODY>[/TABLE]


[TABLE="class: cms_table_cms_table, width: 100"]
<TBODY>[TR]
[TD]book2
[/TD]
[TD]book3
[/TD]
[/TR]
[TR]
[TD]b
[/TD]
[TD]b
[/TD]
[/TR]
[TR]
[TD]c
[/TD]
[TD]c
[/TD]
[/TR]
[TR]
[TD]g
[/TD]
[TD]d
[/TD]
[/TR]
[TR]
[TD]l
[/TD]
[TD]e
[/TD]
[/TR]
[TR]
[TD]t
[/TD]
[TD]f
[/TD]
[/TR]
</TBODY>[/TABLE]


What version of Excel are you using?
 
Upvote 0
i tried this
why doesn't it work?
=IF(ISNA(INDEX(last_week_pivot_inven!$A$5:$A$99999,MATCH(0,COUNTIF('sub_total'!A$2:A2,last_week_pivot_inven!$A$5:$A$99999),0))),INDEX(current_week_pivot_inven!$A$5:$A$99999, MATCH(0,COUNTIF('sub_total'!A$2:A2,current_week_pivot_inven!$A$5:$A$99999),0)),INDEX(last_week_pivot_inven!$A$5:$A$99999,MATCH(0,COUNTIF('sub_total'!A$2:A2,last_week_pivot_inven!$A$5:$A$99999),0)))
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,011
Members
452,374
Latest member
keccles

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