Array Returning "0" value

BijanBorazjani

New Member
Joined
Oct 22, 2021
Messages
25
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon,
I built an array function a long time ago and moved it to a new sheet/workbook. The issue i am having is that now the last unique value is posting as a 0. Any ideas on how to get it to just leave the last cell blank?

Array Formula
=IFERROR(INDEX('Weekly Input'!$C$3:$C$1000, MATCH(0, COUNTIF($B$4:B4, 'Weekly Input'!$C$3:$C$1000), 0)), "")

Tribute Tracking and Planning Form - TMCSW Bijan Copy.xlsx
ABCD
1January
2Family NameDoDLocationNotes
3John Smith2/3/2024SevierePre Need
4Jane Doe2/4/2024Ireland
5Steve Parker2/5/2024Tribute SW
6Ray John2/5/2024Seviere
7
8
9
10
Weekly Input


Tribute Tracking and Planning Form - TMCSW Bijan Copy.xlsx
BCDE
32024Q1
4JanFebMar
5Seviere2--
6Ireland1--
7Tribute SW1--
800
9  
10  
11  
12  55
13  44
14  --
15  --
16Average155
2022
Cell Formulas
RangeFormula
B5:B15B5=IFERROR(INDEX('Weekly Input'!$C$3:$C$1000, MATCH(0, COUNTIF($B$4:B4, 'Weekly Input'!$C$3:$C$1000), 0)), "")
C5:C15C5=IF(B5="","",COUNTIF('Weekly Input'!$C$3:$C$1000,B5))
C16:E16C16=AVERAGE(C5:C15)
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Clear the formula in col B & in B5 use
Excel Formula:
=UNIQUE(FILTER('Weekly Input'!$C$3:$C$1000,'Weekly Input'!$C$3:$C$1000<>""))
 
Upvote 0
Clear the formula in col B & in B5 use
Excel Formula:
=UNIQUE(FILTER('Weekly Input'!$C$3:$C$1000,'Weekly Input'!$C$3:$C$1000<>""))
Do you know if there is a way to use this with multiple columns. Eg: January is column c february is column H etc. basically offset every x number of columns
 
Upvote 0
How about
Excel Formula:
=LET(a,TOCOL(CHOOSECOLS('Weekly input'!$C$3:$BF$1000,SEQUENCE(,12,,5)),,1),UNIQUE(FILTER(a,a<>"")))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,901
Messages
6,175,277
Members
452,629
Latest member
SahilPolekar

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