The array tag has no usage guidance.

**0**

votes

**1**answer

20 views

### Need to extract multiple matches from a list of values

I am trying to extract data from a worksheet using an array formula but it will only return one (the first it finds) value. The formula I am using is:
=INDEX($C$2:$C$8, SMALL(IF($B12=$B$2:$B$8, ...

**0**

votes

**1**answer

13 views

### Using an array as search criterea for find command

I'm wondering if it's possible to declare an array of file types to then be searched with via the find command?
So
fileTypes=(*.omf *.jpeg *.xml *.otf)
find . -name ${fileTypes}
Instead of:
find ...

**0**

votes

**1**answer

11 views

### How can you find the index of a word in a list in GNU make?

I want to be able to have multiple lists in make, all the same size, one of which contains filenames and the others containing info related to those files, in the same respective order. I want to be ...

**0**

votes

**2**answers

25 views

### Matrix in a cell and calling values of this matrix

I would like to be able to create an matrix in a cell without referring to other cells.
Let's say in A1 I'd have the matrix
2 3 4
1 2 3
with entering something like ={2,3,4;1,2,3} in A1.
I would ...

**0**

votes

**1**answer

37 views

### Excel, count unique values if criteria - HUGE data set

problem i have 300.000 entries
Colum A = YEAR
Colum B = month
Colum C = customer number
G5 to G13 = criteria
I want to count how many unique customers pr. year - I tried using an array formula - ...

**0**

votes

**1**answer

32 views

### MIN IF Array Function with Multiple 'is like' criteria

I think I have a good one.
I need a MIN-IF (and MAX-IF) on multiple criteria where near matches are required. I know how execute a MIN IF on multiple criteria using the product of many IF statements ...

**1**

vote

**2**answers

39 views

### Retrieve the array indexes from a range

I am facing an issue where I need to input column indexes from 1 to 1220 in the VLOOKUP function
{=SUM(VLOOKUP(A2,sheet1!$A$3:$AC$11, {1,2, 3, 4, 5, 6, ..., 1219, 1220}, TRUE))}
The only solution I ...

**1**

vote

**2**answers

21 views

### Find correspondent row in array

I've a product's list containing each product's weight. I've another table with ranges of weights, and each range has a different storage cost.
I'd like to have a formula that identifies in which ...

**2**

votes

**1**answer

61 views

### Trying to create a formula to calculate a rate value per row in Excel

I think this is to do with a formula over an array but I can’t get it to work.
I’m looking for the easiest method to do the following.
Say I have this setup, columns are 'jobs' and rows are ...

**0**

votes

**2**answers

32 views

### Excel, possible array? Not sure how to calculate conditional steps

I have two rows of numbers, 1 and 2, they go from G-Z. I want to calculate the following:
(G2-G1, if greater than zero) add to...
(H2-H1, if greater than zero) add to...
(I2-I1, if greater than zero) ...

**2**

votes

**2**answers

108 views

### How to flag rows with the pattern non-blank, blank, non-blank using Excel

I would like your help with something I have been trying to figure out for the past two days.
I have data with 1000's of rows and several columns. I want to insert a column with a (array) formula ...

**0**

votes

**0**answers

48 views

### Condensing a Formula checking numerous Countifs across rows and columns

I am trying to find a way to turn the below equation into something less cumbersome. Basically I have an array of Countifs which are checking table data to see if the selected person is taking 10 mg ...

**0**

votes

**2**answers

371 views

### Excel array functions — how to count non-blank cells over multiple worksheets?

I have an Excel workbook with numerous worksheets, some of them containing a numeric value in cell A1:
'DATA_1' 'DATA_2' 'DATA_3'
A A A
1 ...

**0**

votes

**0**answers

12 views

### Selecting only flagged observations from one worksheet for calculation on another worksheet

I've inherited my first Excel model and need to get it to calculate faster. As it stands now, there's a dataset on one of the worksheets that is 50,000 x 20, to which an additional 30 or so columns ...

**1**

vote

**1**answer

138 views

### How to count number of cells over multiple worksheets whose values are in between a given range?

I have an Excel workbook with numerous worksheets containing data like:
'DATA_1' 'DATA_2' 'DATA_3'
A B A ...

**0**

votes

**1**answer

587 views

### Add hashes with duplicate keys to array

I have a bunch of hashes in powershell with identical keys. Though creating an array of hashes with different keys is straightforward and thoroughly discussed on the internet, I'm unable to find any ...

**0**

votes

**1**answer

18 views

### Trying to show in one cell the date at which a cash flow will become negative

I made a cash flow projections sheet with columns going from D to FE and Rows going from 1 to 65.
On the top of each column I have a row with dates from D8 to FE8.
On the bottom I have a row with ...

**1**

vote

**1**answer

158 views

### Make an array formula in excel calculate only on active rows

When excel calculates formulas over a column (e.g. a lookup), it's smart enough to only calculate until the last active row, rather than also running on all the blank rows.
With array formulas, it ...

**0**

votes

**1**answer

65 views

### Need unique count of text from multiple columns by category

My data looks something like (assume begins in A1):
Category,Label1,Label2
Dogs,blank,doe
Dogs,zoo,blank
Cats,zoo,yup
Cats,doe,hgg
Cats,blank,doe
What the result should look like:
...

**-1**

votes

**1**answer

51 views

### Filter an Array into another page of an excel spreadheet

I have an excel table that includes one column that lists Y, N, N/A, or Blank. I need my filter to pull the rows that include the N, or Blank and paste them into another page of the spreadsheet.
I ...

**1**

vote

**1**answer

104 views

### INDEX( SMALL( IF(… resulting in #NUM today, yesterday was correct

{=INDEX(Sheet1!$A:$M,SMALL(IF(Sheet1!$O:$O=TRUE,ROW(Sheet1!$O:$O)),ROW(1:1)),1)}
Yesterday it was full of useful values today there are #NUM errors in every cell. Not sure what went awry? Any ...

**1**

vote

**0**answers

28 views

### Return 'dir' command results into array/list [duplicate]

I want to know how to return the output of the dir command into an array.
I'm using the command like this: dir /s /b *.txt how would I put each result (file name) into an array/list.
Thanks

**0**

votes

**1**answer

66 views

### VBA macro crashes when using variable Ranges instead of fixed ones

I've tried to include comments with the code to make it readable, especially as I'm sure there are better ways of doing this!
I have a table with purchases and sales for a specific product. E.g.
ID ...

**1**

vote

**1**answer

30 views

### Display Associative array in awk

How can I display Associative array, when I don't know index?
My script:
{
tab[$1]=tab[$1]+1
}
END{
print tab[*]#display array -> it doesn't work
}

**0**

votes

**1**answer

51 views

### How do I zero out an SAS hard drive which is part of a Dot Hill array?

I am helping a friend who has a Dot Hill Array (server?) and a full set of SAS drives that go with it.
The end goal is to zero out the drives so they can be re-used or sold. What I don't know... is ...

**6**

votes

**1**answer

193 views

### Use functions like Countif, Countblank etc. to refer to discontiguous ranges.

Is there a way to use array formulas or some other feature to essentially have an excel function that means.
=Countblank({A1,A4:A6,A112:127,B29:B38}) etc.
Essentially, I want to refer to multiple ...

**0**

votes

**1**answer

37 views

### Excel 2010 Array (CSE) Formula: How to remove a part of contiguous (adjacent) range

I would really appreciate help on the following question:
Is there a way to write a formula that removes a segment from a contiguous range?
For example, say there is a formula ...

**1**

vote

**2**answers

271 views

### Excel 2010 Array Formula (CSE) Dynamic cell range/reference; index? offset?

This might be an easy question to some but I am completely lost so I would really appreciate any help out there!
A
1 10
2 20
3 30
4 40
5 50
6 60
7 70
...

**0**

votes

**4**answers

726 views

### Excel: Sum values on a column based on criteria* on other columns *(complex criteria)

See below for rewrite.
Please refer to the data below for the question. The very top A B C are columns and the far left numbers 1 through 15 are rows. The rest are cells.
A B ...

**2**

votes

**2**answers

79 views

### How to highlight boundaries of an array in Excel?

I'd like to know if there's a way to make excel show me where are the boundaries of an array, like the highlight I made in the picture below.
Some explanation: I have a worksheet that is full of ...

**-1**

votes

**1**answer

64 views

### Array formulas and Logic, checking against multiple criteria

I'm currently just troubleshooting a report spreadsheet I've written. The logic I had written isn't working, so I thought I'd see if I could ask for some help here.
Essentially, I have a list of ...

**3**

votes

**2**answers

676 views

### Excel, how to use text functions on lookup array without putting in another column?

If I'm using a vlookup, or a match function but I need to do some mumbo jumbo on my lookup material, is there a way of doing this in the lookup array without simply adding another column?
Let's say I ...

**1**

vote

**0**answers

130 views

### Properly extracting from an array

I have a CSV with one column, numbers formatted as 111-0000, that I'm reading in to process one at a time. I'm trying to import the column of information from the CSV, but I'm having trouble figuring ...

**0**

votes

**0**answers

85 views

### SUMPRODUCT & ROUND

Is there a way to get the product of the array with conditions to round to the 2nd decimal place before summing?
Current formula w/o rounding:
...

**1**

vote

**0**answers

44 views

### Where does the calculation take place? [closed]

In Google spreadsheets, I have quite a big amount of relatively complex array formulas in many cells. That takes ages to complete calculating.
Does the speed of calculation depend on my PC ...

**0**

votes

**1**answer

1k views

### How to lookup a value and return multiple unique values (remove duplicates) to a single cell - comma separated

I am trying to take a value (unique id) from column AC, do a lookup in column (B) and return (meaning concatenate) the multiple unique values from an adjacent column (C) to a single cell in column AD. ...

**0**

votes

**1**answer

386 views

### Enumerating every other array element in loop

I have a dynamic array with key-pair values and I’d like to enumerate every other value. In this case, just the names in the array. Since I’m not using bash v4, I have been able to use seq to step ...

**0**

votes

**1**answer

513 views

### Excel horizontal only sum of an array (matrix)

I have a formula which generates a 2D array result. For example:
{=ROW(4:6)^TRANSPOSE(ROW(1:3))}
(the curly brackets are added by excel when you hit CTRL+SHIFT+ENTER
)
I need to sum only the ...

**0**

votes

**2**answers

129 views

### Excel formula to generate a custom array result

I have a formula in excel which contains an array; {1,2,3} its use can be seen at
I would like to generate it dynamically eg arrayfun(4) would generate {1,2,3,4}.
I can generate a very long array with ...

**0**

votes

**1**answer

424 views

### BASH associative array rearrange keys

I am running into a weird issue with associative arrays in bash.
I have the following files in a directory:
ls -lart
drwxr-xr-x. 3 root root 4096 Feb 9 11:14 ..
-rw-r--r-- 1 root root 3275 Feb 9 ...

**3**

votes

**0**answers

107 views

### How to switch off “you can use new shorter array creation syntax” hint in NetBeans IDE 8.0.2?

I use NetBeans IDE 8.0.2 on Linux Mint.
I searched through the options few times, but I can never find the option to switch this hint off in there.
I know well about the new syntax in PHP, but I ...

**2**

votes

**1**answer

3k views

### Excel 2010 - Need to sum dynamic range based on trailing 3 months

I am trying to sum a dynamic range for a list of entries 3 months before and 3 months after a specific month. I think I need to use an array to get this, but I'm not able to find what I need to do.
...

**1**

vote

**1**answer

93 views

### how to get the array size in ms excel?

I would like to write a formula which returns the size of an array. something like
size(A1:A50)
Maybe, it seems to be strange; but it helps me when I insert some new rows in the first 50 lines and ...

**0**

votes

**1**answer

20 views

### Trucrypt volume on Raid5

I have a NAS with the system disk on SSD and 8 HDD's in a RAID5 configuration (using an IBM5015 card). The RAID5 volume is encrypted using truecrypt.
What happens if the computer dies ? My raid card ...

**0**

votes

**1**answer

193 views

### Matlab extract numbers from cell with mixed contents

I have a cell array with different datatypes, from an excel sheet that I need to read in, but which is beyond my control.
[~, ~, raw] = xlsread(xlsFile)
raw is now a r-by-c cell vector, for ...

**0**

votes

**1**answer

64 views

### Excel cell value (text) based on 2nd cell value (number) appearing in a named range

I have a spreadsheet where I want a contact name to appear in a cell (F166) if the department number (P166) appears in a named range ("PS Depts" on Sheet2).
Here is my existing formula, but it only ...

**-1**

votes

**2**answers

157 views

### What is the equivalent of pathmunge() in csh?

In bash, a common function implemented in e.g. /etc/bashrc is pathmunge(), which appends or prepends a path to PATH if it isn't already listed among the elements in PATH.
Example:
$ echo $PATH
...

**0**

votes

**1**answer

280 views

### AutoIt script hangs for no apparent reason

I am stuck with this script. For ages it didn't work. And then suddenly it did...and now...on a reinstall...it doesn't work again. It stops on the first winwaitactive line.
The folder is most ...

**0**

votes

**1**answer

154 views

### Powershell Get File Shares Into Array

I am trying to get a list of folders shared on a file server, and put them into an array. This is the code I have at the moment:
$FileServer = "ServerName"
[array]$FileServerShares = gwmi ...

**0**

votes

**1**answer

326 views

### Replacing subString in an array with bash

What I got:
array[0]="Programm is Running"
array[1]="programm is down"
What I want:
array[0]="Programm is \e[0;32mRunning\e[0m"
array[1]="programm is \e[0;31mDown\e[0m"
This will make things a ...