Excel Formula required to get the top cell - excel

I am trying to create a bandwidth tracker. I want the date to populate of next available in the Column C.
For example Name E is getting available on 9/18/2021. I want this date to populate in cell C6.
Can any one tell me the formula to be used for this.
Bandwidth Tracker:
Thanks

INDEX/MATCH should work for you. Put below formula C2 cell and drag down till need.
=INDEX($D$1:$I$1,MATCH("Available",D2:I2,0))

Related

Averaging cells in one column based on date of another column in Excel 2010

I have searched high and low on the internet and still can't find a solution to what seems to be a simple issue so I am here hoping someone will enlighten me.
I have a table(not pivot) in Excel 2010 and I need a formula that will calculate the average of a group of cells in column B based on the date in column A and display it in column C but only on the first line of the date(s).
Columns A and B are static. Only column C needs a formula.
Thanks in advance for any ideas.
Here is what I want the table to look like when calculated:
Solution 1 - using a helper pivot table
You can first use the data in Column A and B to make a pivot table such as the following, suppose the pivot table is located in Column F and G, change the value field settings of Sys to summarise the value filed by Average :
Then in cell C3, enter the following formula and drag it down:
=IF(A3=A2,"",VLOOKUP(A3,F:G,2,0))
Solution 2 - using array formula
In cell A3, enter the following formula and then press Ctrl+Shift+Enter upon finish, then drag the formula down:
=IF(A3=A2,"",AVERAGE(IFERROR(List_Sys/(List_Date=A3),"")))
Find attached :D I used Averageif function, and if to verify if any change in date. then just scrolled down.
Screenshot:
Try following formula-
=IF(COUNTIF($A$3:$A3,A3)=1,AVERAGEIF($A$3:$A$19,A3,$B$3:$B$19),"")

Build a formula based on some cell values

The solution I'm looking for is a non-vba one, hopefully there's any.
I'm planning to build a formula at B7, something like =SUM(B3:B5), but the value B3 and B5 is taken from C7 and D7.
I'm working on a weekly employee salary tables, a sheet can contain some employee salary tables, broken down into week by week, using the ordinary SUM function will take more efforts, so I'm looking for an easier way to do it.
Any clues would be much appreciated.
This is my solution, use the following formula:
=SUM(INDIRECT(CONCATENATE(C7,":",D7)))
CONCATENATE to join both cells in order to form the range C7:D7.
INDIRECT to transform your text into a valid range.
SUM to sum the specified range.
To avoid this you could also choose to show the total value in a different column and a simple =sum($B:$B) would do.
But above is the answer to your specific question.

Formula to Search for Data in One Column, then Apply Formula

I am working on a personal budget sheet in excel, and it's formatted based on my pay dates, to provide more drilled-down information. I have attached an example of it below for reference.
I would like to put a formula into J2, J3, and J4 which will take the data in cells C9:C26 and H9:H16, match it to the date in cells D2:D4, then subtract the expenses in D9:D26 and I9:I16 from E2, E3, and E4.
As you can see, I have just individually summed the cells; however, I would like a formula to be able to adjust as I change the value in cells C9:C26 and H9:H16.
I have found that I can do it with ONE cell, but not multiple or a range. This is the formula I used, and I cannot find a way to make it apply to the entire range of cells: =IF(C14=D3,E3-D14)
I've also tried: =IF(C9:C25=D3,E3-D9:D25) -- I know this formula doesn't work and why. I cannot figure out how to get column C to correspond with column D.
The Budget Sheet
You just need to use SumIf().
In cell J2, put this formula: =SumIf($C$9:$C$25,$I2,$D$9:$D$25)+SumIf($H$9:$H$25,$I2,$I$9:$I$25) and drag down the three cells.
With that, you can add E2-[formula] to subtract all that from E2. Or of course, just do e2-J2 instead. I think that should do what you're looking for. If it's not quite it, let me know and I can tweak.
If you plan to have more than 1 criteria go with SUMIFS
Yes, with S

Find cells less than todays date VBA

I am trying to create a form which will find any cell with a date value less than todays date within a single column and return the row number. I am trying to use the Match function but only receive errors.
Anybody have any idea where to start with this?
Cheers
James
Ok.
Yes this can be done differently by using VBA, but if you don't know VBA it will be hard. You might be able to use excel formulas like this and this may give you what you need.
If you dates are in column A and start in A1.
Add this formula to B2 and copy it down into the other cells in the column.
=IF(A1<TODAY(),ROW(A1),"After")
This is a starting point.
I don't know what you are using the form for. eg what if many dates are before today, do you just take the first one?
ie
Add this to C1
=IF(B1<>"After",1,0)
Add this to C2 and copy down
=IF(B2<>"After",C1+1,C1)
Add this to D1
=IF(C1<>0,A1,"")
Add this to D2 and copy down
=IF(AND(C2<>0,C1=0),A2,"")
Add this to cell E1
=SUM(D:D)
Chnage column D and E to have date format.
Cell E1 now gives you the first date in the list less than today.
Harvey

Excel Formula Referencing

quick excel question:
If I put values in cell B1 and B2.
Then write the following formula in cell A1:
=$B$1-$B$2
then I highlight cells B1 and B2 and move them to column C. the formula in A1 automatically adjusts for the move ie. formula now becomes:
=$C$1-$C$2
How would I get it to stick to column B and not switch to column C. I tried searching google but did not get right answers (probably am not phrasing question correctly).
The context of my problem is that formulas in one sheet are being calculated based on month end data which is placed in another sheet. Now I need to add April month end data. So I shift the old data to the right and input April's data, but the formulas are automatically adjusting for the shift and still refer to March's month-end data. This despite the formulas using absolute referencing.
Thanks for any help provided
The formula you are looking for is
=INDIRECT("B1")-INDIRECT("B2")
This will always refer to Cells B1 and B2 regardless of what you to do move the cells or add new columns etc.
This will allow you to simply insert a column for the new month.
Not a good spreadsheet design, you should really add new data to a new column.
However, if you are determined to stick to that design, copy and paste the old values to a new column, then delete the originals. Formulas will not be alterd by that.

Resources