Excel alphabetize column gathered from different column - excel-formula

I have a spreadsheet with the projects in column A and the date of that project in column B:
I would like to those two columns placed in column D and E, respectively, and as I add them in column A & B, have them be placed alphabetically in column D & E.

In the first cell of the column "Proposed project", paste this formula:
=INDEX(projects,COUNTIF(projects, "<"&A2)+SUM(IF(A2=$A$2:A2, 1, 0)))
with A2 pointing the first cell in the "Proposed project" column.
In the first cell of the column "Date submitted", paste this formula:
=INDEX(Dates,MATCH(D2,projects,0))
with D2 pointing the cell where you just pasted the formula above.
Then drag them both to the end of your data.
Notes:
The range projects is the column with all the existing project names (without the title)
The range Dates is the column with all the existing dates of the projects (without the title)

Related

VBA Copy and paste values in one cell based on value in another cell

in this picture, the data in column I and R are both formulas. I want to write a code to have the formula in column I paste AS VALUES if there is an asterisk in the same row of column R and do nothin if it is blank. I need to do this for rows 9:44.

Matching SUMIFS Criteria on cell string value

I want to add the values in Column G of Master tab, if column D = "Outcome 1", and column J equals cell A3 in current sheet. I'm using this formula below.
=SUMIFS(Master!G:G,Master!D:D,"Outcome 1",['Master'!J:J, A3])
Any tips? Thank you!

SUMIF looking at a range of text criteria AND returning blank if empty cell

I have a SUMIF function on one sheet looking at a range of cells in Column A on a separate sheet (EP 1). If the value matches the value in a certain cell in Column A, the SUMIF function sums the numbers in another range of cells in Column D on the sheet EP 1. Here's my formula:
=SUMIF('EP 1'!$A$3:$A$25, "" & A5 & "",'EP 1'!$D$3:$D$26)
However, I have blank cells in Column A, so I would like to add into the formula, if cell (e.g. A5 as above) is blank, then return a blank cell. How can I do this?
Perhaps?:
=IF(ISBLANK(A5),"",SUMIF('EP 1'!$A$3:$A$25,A5,'EP 1'!$D$3:$D$26))

Troubleshooting Excel- compare cell to range them copy text in next column

I have two sheets. One has a column of text. The other has a column of text and an adjacent column with a number.
I want to compare each cell to the range on another sheet. If the text on sheet B is found I want to pull the number next to the column in sheet A and put it next to column next to the string on sheet B.
This seems to work for the first cell, but when I copy/paste it returns 0.
=IF(COUNTIF(D2,'ClientKW Input'!$B$1:$B$337),'ClientKW Input'!$A$1:$A$337,0)
For column D2 it returns the correct number but not for d3 and other cells?!?
You could also use INDEX MATCH to achieve this. Something like the following:
=INDEX(Sheet1!B:B, MATCH(Sheet2!A1, Sheet1!A:A, 0))
In the above example, the data you are pulling is in Sheet 1 col B, the value you are using to search is Sheet 2 col A, matching up with Sheet 1 col A. You might have to change this for you specific needs.

Excel: sum a column by comparing dates in one column with a date in one cell

I have one column with dates, one column with values and one cell with date in excel. I want to see if the dates in the column is greater than the cell date if it is then sum up the values from another column
for eg. -
sheet1 A:A has dates
Sheet1 B:B has numbers
Sheet 2 cell A has a date 02/02/2013
If cell A is greater than sheet1 A:A then sum Sheet 1 B:B in a seperate cell.
Thanks so much
=SUMIF(Sheet1!A:A,">"&Sheet2!A1,Sheet1!B:B)
This SUMIF formula will sum up all the values in sheet 1 column B where the value in sheet 1 column A are greater than the value in sheet 2 cell A1.
You can fill out another column and enter this formula:
=IF(A1>$C$1,B1,"")
and drag the formula down. What you will have in this new column is all the numbers of the dates that are greater then the date in cell C1.
You can then just sum up the column.
A bit hacky but it will do what you want.
NOTE: assuming that the given date is in cell C1. Could not tell from your question.

Resources