Need to reference rows with a blank cell on another sheet

CCASSETTY

New Member
Joined
Jan 13, 2022
Messages
3
Office Version
  1. 2007
Platform
  1. Windows
I know this is a simple one for regular Excel users, but I'm pretty green at this. All I need to do is reference some data from sheet 1 on sheet 2. Here's what I'm trying to accomplish (screenshot example attached)

SHEET 1
COL A (domain)
COL B (name) Joe Smith
COL C (mailbox name)
COL D (size MB)
COL E (size GB) NUMERICAL VALUE, EX: 1.50

SHEET 2
I need to display [SHEET 1 COL A] and [SHEET 1 COL E] IF [SHEET 1 COL B] is blank.

Unfortunately, the most VBA I know is how to copy what I find on the web, tweak cell ranges, and paste. :( Can someone tell me how to do this?

Thanks!
 

Attachments

  • Sheet 1.png
    Sheet 1.png
    12.5 KB · Views: 8
  • Sheet 2.png
    Sheet 2.png
    4 KB · Views: 8

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Try this in sheet2

Book1
ABC
1DomainTOTAL GB
2domain3.com11.05
3domain9.com10.29
Sheet2
Cell Formulas
RangeFormula
A2:A3A2=IFERROR(INDEX(Sheet1!$A$2:$A$10,AGGREGATE(15,6,(ROW(Sheet1!$A$2:$A$10)-ROW(Sheet1!$A$2)+1)/(Sheet1!$B$2:$B$10=""),ROWS(Sheet1!$A$2:A2))),"")
C2:C3C2=IFERROR(INDEX(Sheet1!$E$2:$E$10,MATCH(A2,Sheet1!$A$2:$A$10,0)),"")
 
Upvote 0
Solution
You need to adjust the cell ranges, but how about this:
Book1
ABCDEFGHIJK
1DomainUserNameqSize(MB)Size(GB)DomainSize(GB)
2Domain11037810.8978344Domain110.89783
3Domain2xx1131810.93766136Domain410.92796
4Domain3xxmain1047510.90956863Domain510.27375
5Domain41094210.92796073Domain610.865
6Domain51016010.27374883Domain810.24031
7Domain61086410.865004Domain910.9588
8Domain7xxxxmain1053410.25278495
9Domain81005610.24031221
10Domain91071110.78806729
11Domain10xx1072110.96089124
12Domain11x1140110.95880298
Sheet3
Cell Formulas
RangeFormula
I2:I7I2=FILTER(A2:A12,ISBLANK(B2:B12)=TRUE)
K2:K7K2=VLOOKUP(I2,A1:E12,5)
Dynamic array formulas.
 
Upvote 0
You need to adjust the cell ranges, but how about this:
Book1
ABCDEFGHIJK
1DomainUserNameqSize(MB)Size(GB)DomainSize(GB)
2Domain11037810.8978344Domain110.89783
3Domain2xx1131810.93766136Domain410.92796
4Domain3xxmain1047510.90956863Domain510.27375
5Domain41094210.92796073Domain610.865
6Domain51016010.27374883Domain810.24031
7Domain61086410.865004Domain910.9588
8Domain7xxxxmain1053410.25278495
9Domain81005610.24031221
10Domain91071110.78806729
11Domain10xx1072110.96089124
12Domain11x1140110.95880298
Sheet3
Cell Formulas
RangeFormula
I2:I7I2=FILTER(A2:A12,ISBLANK(B2:B12)=TRUE)
K2:K7K2=VLOOKUP(I2,A1:E12,5)
Dynamic array formulas.

Unfortunately, this won't work for me, as I see this is only supported in the (much) newer versions than what I'm stuck working with. But thank you.
 
Upvote 0
Try this in sheet2

Book1
ABC
1DomainTOTAL GB
2domain3.com11.05
3domain9.com10.29
Sheet2
Cell Formulas
RangeFormula
A2:A3A2=IFERROR(INDEX(Sheet1!$A$2:$A$10,AGGREGATE(15,6,(ROW(Sheet1!$A$2:$A$10)-ROW(Sheet1!$A$2)+1)/(Sheet1!$B$2:$B$10=""),ROWS(Sheet1!$A$2:A2))),"")
C2:C3C2=IFERROR(INDEX(Sheet1!$E$2:$E$10,MATCH(A2,Sheet1!$A$2:$A$10,0)),"")

I'm afraid I'm not astute enough to follow because I've tried and I'm obviously doing something wrong. I apologize, but could you explain it like I'm five?
 
Upvote 0
I'm afraid I'm not astute enough to follow because I've tried and I'm obviously doing something wrong. I apologize, but could you explain it like I'm five?

so what I did was copy that formula
Excel Formula:
=IFERROR(INDEX(Sheet1!$A$2:$A$10,AGGREGATE(15,6,(ROW(Sheet1!$A$2:$A$10)-ROW(Sheet1!$A$2)+1)/(Sheet1!$B$2:$B$10=""),ROWS(Sheet1!$A$2:A2))),"")

to sheet2 in cell A2 and drag it down.

I only went down to Sheet1 cell Row 10 in the formula put you can put whatever row number you need just change "10" to the row number in the formula

Excel Formula:
Sheet1!$A$2:$A$10)

then I put

Excel Formula:
IFERROR(INDEX(Sheet1!$E$2:$E$10,MATCH(A2,Sheet1!$A$2:$A$10,0)),"")

In sheet2 in cell C2 and drag that down. again I only went with 10 rows for the example

Hope that clears and helps
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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