Help with a complex formula

Richard U

Active Member
Joined
Feb 14, 2006
Messages
406
Office Version
  1. 365
  2. 2016
  3. 2010
  4. 2007
Platform
  1. Windows
I'm trying to break out customer data to several spreadsheets

It's working, but I think there must be an easier way


Here's what I have so far.....
The customer name is in column "E" and I want to pull the customer data into it's own sheet


=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),0,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),0,1)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),0,2)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),0,3)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),0,4)

=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),0,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),1,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),2,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),3,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",COUNT!$E$1:$E$5001,0)+0),4,0)


et cetera....

Is there a way of designing the formula where the offset rows and columns will automatically increment?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
ugh, sorry....

Correction...

=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),0,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),0,1)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),0,2)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),0,3)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),0,4)

=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),0,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),1,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),2,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),3,0)
=OFFSET(INDIRECT("Customer!A" & MATCH("AB*",Customer!$E$1:$E$5001,0)+0),4,0)
 
Upvote 0

Forum statistics

Threads
1,214,869
Messages
6,122,015
Members
449,060
Latest member
LinusJE

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