The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
19 views

Return 'dir' command results into array/list

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
1answer
21 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
0answers
27 views

SAN capable of 25,000 IOPS at 75kb avg. size, where will my bottleneck be? [migrated]

I just want to double check my findings here, hope someone out there is able to weight in on some of this. Let's say I have a SSD storage array capable of delivering 25,200 IOPS and it is connected ...
1
vote
1answer
15 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
1answer
20 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 ...
4
votes
0answers
53 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
1answer
22 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
2answers
68 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
4answers
165 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 ...
1
vote
1answer
23 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
1answer
39 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
2answers
140 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
0answers
64 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
0answers
33 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
0answers
23 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
1answer
456 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
1answer
105 views

Resolved: 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
1answer
226 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
2answers
54 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
0answers
29 views

edit nested plist array. os 10.10

here is my scenario I can read from a plist the array but I ned to remove a line form the array. MacBook-Air:~ user$ /usr/libexec/PlistBuddy -c "print menuExtras" ...
0
votes
1answer
95 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 ...
1
vote
0answers
55 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 ...
1
vote
1answer
1k 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
1answer
41 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
1answer
19 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
0answers
108 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
1answer
46 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 ...
0
votes
0answers
124 views

Delete RAID Array via PERC BIOS?

I have a an older PowerEdge 800 with a PERC 4/DC controller and RAID 1 array. Its running Windows Server 2008, and it serves as my file server (among a few other roles). I've swapped out all the ...
-1
votes
2answers
96 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
1answer
180 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
1answer
86 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
1answer
178 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 ...
-2
votes
1answer
166 views

What type of hard drives can be used in storage server [closed]

First of all i am not asking for any shopping Recommendation but i want to know about this product on ebay ...
-2
votes
2answers
80 views

identify the rows with the lowest values in an array based on identical values in a column of that array

I have an array of product data which includes code, description and cost. code is unique, cost is numeric and description is non-unique. Please see example. How can I select the cheapest of each ...
0
votes
0answers
128 views

Bash, transforming a string list of words in a array

Sorry if I post a question on a topic discussed dozens of times. I'm trying to work on an element of an associative array and assign it to an array. I know that in bash associative arrays are ...
1
vote
1answer
130 views

can't seem to populate bash array with new elements using '+=' operator

Like the title says. Trying to populate an array from zenity checklist output. Here is the function I want to run, but fails: function fSongType() { mType=$(zenity --list --title "Random song ...
0
votes
2answers
340 views

In associative arrays, assigning index and value at the same time

In a bash script I found the following but though it works I cannot understand its logic REMOTESNAPS+=(["$FS"]=" $SNAP") The statement above adds an element to the associative array REMOTESNAP by ...
-1
votes
1answer
134 views

Parsing arrays in PHP [closed]

I am developing a PHP application and I have the following array: print_r($array) Array ( [0] => stdClass Object ( [can_see_custom_stories] => 1 [name] => caitlinhamm ...
1
vote
2answers
10k views

List values based on criteria

I have a table on a worksheet called "DealSetup" that looks like this simplified version: A B 1 John Doe 1 2 Jane Doe 1 3 Mark Doe 2 4 Doug Doe 1 5 Mary Doe 2 I ...
0
votes
2answers
91 views

Force a one-dimensional array into a constant in Excel

I have a condition in an Excel IF-statement as follows: INDIRECT(ADDRESS(ROW(ME3),MATCH("PremiumWaiver",$1:$1,0)))=1 where INDIRECT(ADDRESS(ROW(ME3),MATCH("PremiumWaiver",$1:$1,0))) eveluates to ...
2
votes
1answer
84 views

What type of port is this?

What type of port is this? It is on the back of an older (circa 2006) EMC Array.
1
vote
1answer
142 views

How woulld I add $OPTARGs from one arg to an array

So I'm trying to add values from an optarg to an array. I've got: arrays=() while getopts a: args; do case $args in a) arrays+=$OPTARG;; esac done echo $arrays[@] When I run the script, ...
1
vote
1answer
3k views

Is there a way to use a name range as an array criteria for a sum(countif()) formula in Excel 2010

Picture column A full of comments like feedback from a survey question. Now picture column B with a formula which counts occurrances of particular key words within each comment. I am currently using ...
1
vote
0answers
640 views

md0 RAID1 can't read superblock

i have a problem with my md0 array, which is an raid1 (2 mirrored USB-Sticks) Mount gives "Can't read superblock" cat /proc/mdstat: Personalities : unused devices: <none> fdisk -l ...
4
votes
3answers
498 views

Spawning multiple parallel wgets and storing results in a bash array to be pretty printed when all wgets are done

I have a long list of urls on my own website listed in a carriage return seperated text file. So for instance: http:/www.mysite.com/url1.html http:/www.mysite.com/url2.html ...
0
votes
2answers
3k views

In Excel I need to find data matches between two arrays - one horizontal and one vertical

In Excel 2010 (or 2007 - I have both, although my OS is only Win7 32 bit as a limitation for some legacy applications we run), I need to find how I can find and return the matching value from two data ...
0
votes
1answer
94 views

Which cable do I need?

I just bought an HP MSA30 hard drive array. I believe it's the dual bus model because the interface card looks like this.... Can anyone tell me what type of cable I need to connect this to my ...
1
vote
1answer
677 views

cell array of strings to matlab structure

I need to create a matlab structure as such ds=struct('name',{{'my_name_is'},{'matlab_thining_hair'}}) which stores as a 1x2 structure array with a field name. A call to ds.name generates the output: ...
-1
votes
2answers
223 views

I will need a formula showing counts, totals and sub-totals for data set from different sheet

I am using MS2003 EXCEL. I have a cell in Sheet 1 with a color value and totals, with sub-totals. On sheet 2, I have a data set with 3 columns (colors, dress, type). On Sheet 1, I will need a ...
2
votes
2answers
315 views

Swapping RAID sets in and out of the same controller

This is a really simple question, and the answer is probably encoded in various wikipedia articles, however my question is reasonably specific, and I need a bulletproof answer! I'm not sure if my ...