gilbonbaggins
New Member
- Joined
- Oct 8, 2018
- Messages
- 3
Howdy everyone
I was hoping to get some help with a situation I'm stuck with. I have an excel worksheet with data in one of the columns that looks like the following. I'm looking for an expression to find all data that has "Reads" less than 1000 (the highlighted values marked in bold).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Reads: 54 (54 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 734,202 (726,337 seek 1 scan 7,864 lookup) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 3,562 (3,562 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 2,346 (2,346 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 0 Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 133 (133 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 0 Writes:0[/TD]
[/TR]
[TR]
[TD]Reads: 9,965 (9,939 seek 26 scan) Writes:14,644,752[/TD]
[/TR]
[TR]
[TD]Reads: 55 (55 seek) Writes:0[/TD]
[/TR]
</tbody>[/TABLE]
Some background on what I'm trying to do:
The spreadsheet is generated using ImportExcel PowerShell module (https://github.com/dfinke/ImportExcel). So far the only thing I cannot seem to figure out is how to add a conditional formatting which looks like something like this.
I'm sure my expression =(NUMBERVALUE(MID(E1:E1048576,8,11))<1000) is incorrect, and I was hoping to get some pointers to figure that part out
Thank you.
I was hoping to get some help with a situation I'm stuck with. I have an excel worksheet with data in one of the columns that looks like the following. I'm looking for an expression to find all data that has "Reads" less than 1000 (the highlighted values marked in bold).
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Reads: 54 (54 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 734,202 (726,337 seek 1 scan 7,864 lookup) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 3,562 (3,562 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 2,346 (2,346 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 0 Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 133 (133 seek) Writes:32,133,324[/TD]
[/TR]
[TR]
[TD]Reads: 0 Writes:0[/TD]
[/TR]
[TR]
[TD]Reads: 9,965 (9,939 seek 26 scan) Writes:14,644,752[/TD]
[/TR]
[TR]
[TD]Reads: 55 (55 seek) Writes:0[/TD]
[/TR]
</tbody>[/TABLE]
Some background on what I'm trying to do:
The spreadsheet is generated using ImportExcel PowerShell module (https://github.com/dfinke/ImportExcel). So far the only thing I cannot seem to figure out is how to add a conditional formatting which looks like something like this.
Code:
Add-ConditionalFormatting -WorkSheet $sheet -Range "E1:E1048576" -RuleType Expression -ConditionValue '=(NUMBERVALUE(MID(E1:E1048576,8,11))<1000)' -BackgroundColor Yellow
I'm sure my expression =(NUMBERVALUE(MID(E1:E1048576,8,11))<1000) is incorrect, and I was hoping to get some pointers to figure that part out
Thank you.