How to pull data and leave no blanks

Noxqss38242

Board Regular
Joined
Sep 15, 2017
Messages
225
Office Version
  1. 2016
BREAKDOWN-DOWNTIME.xls
Z
65493Road Repairs Occupied
65494UNIT
6549520251
6549616854
6549716826
6549820361
6549920720
6550016912
65501 
65502 
65503 
65504 
65505 
65506 
65507 
65508 
65509 
65510 
65511 
65512 
65513 
65514 
65515 
65516
65517Road Repairs Empty
65518UNIT
6551920542
65520 
65521 
65522 
65523 
65524 
65525 
65526 
65527 
65528 
65529 
65530 
65531 
65532 
65533 
65534 
65535 
65536 
makes-models trucks down
Cell Formulas
RangeFormula
Z65494:Z65515Z65494=IF(ROWS(Z$65494:Z65494)>$AB$65493,"",INDEX(Sheet1!$A:$B,ROWS('makes-models trucks down'!Z$65494:Z65494)+$AA$65493,COLUMNS($Z65494:Z65494)))
Z65518:Z65536Z65518=IF(ROWS(Z$65518:Z65518)>$AB$65517,"",INDEX(Sheet1!$A:$B,ROWS('makes-models trucks down'!Z$65518:Z65518)+$AA$65517,COLUMNS($Z65518:Z65518)))


So the list is always changing. I want to list Z65495 thru Z65515 ONLY if data are in the cells
AND list Z65519 thru Z65536 ONLY if data are in the cells

Thus I want cell:
M65505: 20251
M65506: 16854
M65507: 16826
M65508: 20361
M65509: 20720
M65510: 16912
M65511: 20542

So it would ignore that Z65501 thru Z65515 was blank and then picked up on Z65519 and again ignored the blanks thru Z65536.

If they were not blank, they would be listed, if blank, do not list blank.


Any suggestions?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
pl post the sample result you want. if Z65495 thru Z65515 is not blank, where do you want to put them. can you somehow make use of
VBA Code:
isblank(a1)
function
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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