Choose what cells are populated

ste33uka

Active Member
Joined
Jan 31, 2020
Messages
471
Office Version
  1. 365
Platform
  1. Windows
Hi there are way to choose what cells are populated?
currently with this formula in A1 it would populate A1 TO A12
=IFERROR((LET(f,FILTER($AY$204296:$AY$525555,($AW$204296:$AW$525555=F5)*($AA$204296:$AA$525555=F6)),INDEX(f,SEQUENCE(MIN(12,ROWS(f)),,ROWS(f),-1)))),"")

Is there a way to populate A1 to A4 , C1 to C4 and E1 to E4 with just one formula ?
Thanks
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I don't think you can do that, without "wasting" B1:B4 and D1:D4; I mean that you might fill A1:E4 but the formula would overwrite B1:B4 and D1:D4.
You can fill with a single formula A1:C4, i.e. splitting the 12 values in 3 contiguous columns; for example, in A1:
Excel Formula:
=IFERROR(LET(f,FILTER($AY$204296:$AY$525555,($AW$204296:$AW$525555=F5)*($AA$204296:$AA$525555=F6)),Work,INDEX(f,SEQUENCE(MIN(12,ROWS(f)),,ROWS(f),-1)),WRAPCOLS(Work,4)),"")
If you receive the #SPLILL! error it means that part of the area the formula needs to populate is not free from other contents.

To compile A1:A4 - C1:C4 - E1:E4, without affecting B1:B4 and D1:D4, you might insert the given formula in a free area of your workbook, for exmple in K1, then in A1, C1 and E1 insert the formulas
Excel Formula:
=K1:K4
=L1:L4
=M1:M4
 
Upvote 0
Hi there are way to choose what cells are populated?
currently with this formula in A1 it would populate A1 TO A12
=IFERROR((LET(f,FILTER($AY$204296:$AY$525555,($AW$204296:$AW$525555=F5)*($AA$204296:$AA$525555=F6)),INDEX(f,SEQUENCE(MIN(12,ROWS(f)),,ROWS(f),-1)))),"")

Is there a way to populate A1 to A4 , C1 to C4 and E1 to E4 with just one formula ?
Thanks
Do you need the ranges B1:B4 and D1:D4 to be available for something else?
 
Upvote 0
Hi there are way to choose what cells are populated?
currently with this formula in A1 it would populate A1 TO A12
=IFERROR((LET(f,FILTER($AY$204296:$AY$525555,($AW$204296:$AW$525555=F5)*($AA$204296:$AA$525555=F6)),INDEX(f,SEQUENCE(MIN(12,ROWS(f)),,ROWS(f),-1)))),"")

Is there a way to populate A1 to A4 , C1 to C4 and E1 to E4 with just one formula ?
Thanks
This is a bit clumsy but it 'appears' to do the job UNLESS you need B1:B4 and D1:D4 to be available for something else.

Range M1:M4 needs to be blank.

The Conditional Formatting hides the zeros with a white font color.

Having zeros in columns B and D may be a problem for you though.

Excel Functions.xlsm
ABCDEF
1I0P0Y
2U0S0P
3G0L0Y
4M0H0X
5H
6J
ChooseCells
Cell Formulas
RangeFormula
A1:E4A1=LET(a,VSTACK(LET(f,FILTER($AY$204296:$AY$525555,($AW$204296:$AW$525555=F5)*($AA$204296:$AA$525555=F6)),INDEX(f,SEQUENCE(MIN(12,ROWS(f)),,ROWS(f),-1))),M1:M4),WRAPCOLS(VSTACK(CHOOSEROWS(a,1,2,3,4),CHOOSEROWS(a,13,14,15,16),CHOOSEROWS(a,5,6,7,8),CHOOSEROWS(a,13,14,15,16),CHOOSEROWS(a,9,10,11,12)),4))
Dynamic array formulas.
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:E4Cell Value=0textNO
 
Upvote 0
Thanks for all suggestions, dont think it is possible what i am looking for
 
Upvote 0

Forum statistics

Threads
1,215,301
Messages
6,124,146
Members
449,144
Latest member
Rayudo125

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