Formula for linking worksheet needs modification for it to work

sleek12

Board Regular
Joined
May 3, 2014
Messages
72
Office Version
  1. 365
Platform
  1. Windows
I am unable to discern where i am going wrong ! :confused:
Any help given is appreciated,I started with Name manager
Sourcedatasheet==INDEX(REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),""),N(IF(1,ROW(INDIRECT("4:"&COUNTA(REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"")))))))&T(NOW())

There is a dropdown list of names here--->(List worksheet)

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Sheet is called Query[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]S/no[/TD]
[TD]Sheet name month[/TD]
[TD][TABLE="width: 74"]
<tbody>[TR]
[TD]REF BRANCH[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 90"]
<tbody>[TR]
[TD]Trans Date[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]=IF(B4="","",MAX(A$3:A3)+1)[/TD]
[TD]=IFERROR(INDEX(List!C:C,MATCH(1,INDEX(--(ROW(A1)<=SUMIF(OFFSET(List!D$1,,,ROW(List!$1:$12)),"<>")),))),"")[/TD]
[TD]=IF(OR($B4="",C$3=""),"",IFERROR(INDEX(INDIRECT($B4&"!A3:S100"),AGGREGATE(15,6,ROW($A3:$A102)-ROW($A2)/(INDIRECT($B4&"!C3:C100")=$B$2),COUNTIF($B$4:$B4,$B4)),COLUMNS($A:A)),""))[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

List worksheet
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Details[/TD]
[TD]To drag down below formula[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD] DOUGLAS OMBATI AND CO ADVOCATE2014/07/070/001016 KAN 615W MAKINI AUCTIONEERS AGENCIES 2015/20/070/00050 KBR 066JA.G RIUNGU AND CO ADVOCATES 2015/01/080/2322 KBB 872GA.M MBINDYO AND CO ADVOCATES-2014/01/070/000305 KAQ 417UA.M TAILOR LTD-KISII ELECTRICITYA.M TAILOR LTD-KISII RENT APRIL - JUNE 2018ABISAI AND CO ADVOCATES-2016/75/080/001325 KAL 487QABRAHAM LINCOLN ONYANGO-2017/04/070/000297 KBL 780RACUMEN EQUITIES LTD-[/TD]
[TD]=IFERROR(INDEX(SourceDataSheet,ROWS($1:1)),"")
[TABLE="width: 646"]
<tbody>[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

[/TD]
[TD]=IF(C2="","",INDEX(COUNTIF(INDIRECT("'"&SourceDataSheet&"'!C3:C50"),Query!$B$2),ROWS($1:1)))[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,224,847
Messages
6,181,330
Members
453,032
Latest member
Pauh

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