Need help with a fomrmula

mduntley

Board Regular
Joined
May 23, 2015
Messages
134
Office Version
  1. 365
Platform
  1. Windows
Hello. I want to get some help on understanding a formula. The reason is that I want to use it for my job. I have created a spreadsheet to help with what I am having a tough time with.

This is the formula that I am using

{=IFERROR(INDEX(B3:B49,SMALL(IF(A3:A49=C$2,ROW(B3:B49)-MIN(ROW(B3:B49))+1),ROWS($C$3:C3))),"")}


I dont know why the odds are only showing.

DateWattageWhat I am gettingWhat I want
12/12/201512/12/2015
12/12/2015111
12/12/2015232
12/12/2015353
12/12/2015474
12/12/2015595
12/12/20156116
12/12/20157137
12/12/20158158
12/12/20159179
12/12/2015101910
12/12/2015112111
12/12/2015122312
12/12/201513 13
12/12/201514 14
12/12/201515 15
12/12/201516 16
12/12/201517 17
12/12/201518 18
12/12/201519 19
12/12/201520 20
12/12/201521 21
12/12/201522 22
12/12/201523 23
12/13/201524
12/13/201525
12/13/201526
12/13/201527
12/13/201528
12/13/201529
12/13/201530
12/13/201531
12/13/201532
12/13/201533
12/13/201534
12/13/201535
12/13/201536
12/13/201537
12/13/201538
12/13/201539
12/13/201540
12/13/201541
12/13/201542
12/13/201543
12/13/201544
12/13/201545
12/13/201546
12/13/201547

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
You need to lock your ranges. Right now as you move down a cell your range changes. Also, I don't see the need for the MIN in your formula.

Try changing your formula to (it's still an array formula that must be entered with CTRL-SHIFT-ENTER):
Code:
[TABLE="width: 711"]
<colgroup><col width="711"></colgroup><tbody>[TR]
   [TD="width: 711"]IFERROR(INDEX($B$3:$B$49,SMALL(IF($A$3:$A$49=C$2,ROW($B$3:$B$49)-ROW($B$3)+1),ROWS($C$3:C3))),"")[/TD]
 [/TR]
</tbody>[/TABLE]

It looks like you could just use this non-array formula:
Code:
[TABLE="width: 711"]
<colgroup><col width="711"></colgroup><tbody>[TR]
   [TD="width: 711"]=IF($A3=C$2,$B3,"")
[/TD]
 [/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,215,200
Messages
6,123,611
Members
449,109
Latest member
Sebas8956

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