How to perform column to row operations in excel - excel

Check out the selection in the top right, columns "Purchase/Sale" and "NOI".
I'd like to add these two columns and insert the sum for each period in their respective space. Is there I can link the sum of the columns and add the sum to the row?
In other words, I'd like the cells to link so I would have the following result:
Thank you

Use this array form of VLOOKUP wrapped in SUM():
=SUM(VLOOKUP("CF" & G1,$A$2:$C$7,{2,3},FALSE))
Being an array formula it needs to be confirmed with Ctrl-Shift-Enter when exiting edit mode instead of Enter. If done correctly then Excel will put {} around the formula.

Related

Duplicates and sorting

My table updated
See if this picture of my table helps understand what I am trying to do. Thank you. B1 is where I am trying to return the column C count. I do have some duplicates in column B (as mentioned with previous table).
Use this array formulas to count the uniques:
=SUM(IF(B1:B8=0.5,1/COUNTIFS(A1:A8,A1:A8,B1:B8,0.5)))
Being an array formula it must be confirmed with Ctrl-Shift-Enter instead of Enter when exiting edit mode. If done correctly then Excel will put {} around the formula.

Displaying the result of a division in different cells

I dont know if i asked my question correctly but
This is what i want to do
By filling the numbers in the yellow cells i want to display the numbers in green, the numbers in green are just a simple division of Quantity/Duration and the y start displaying at the column of "Start"
I know it can be easily done with visual basic, but i want to know if there is a way to do it without it.
So three formulas, one array formula and two regular formulas:
column A:
=SUM(D2:K2)
Column B will refer to column C:
=MATCH(1E+99,D2:K2)-C2+1
Column C is an array formula:
=MATCH(TRUE,(D2:K2<>0),0)
Being an array formula it must be confirmed with Ctrl-Shift-Enter instead of Enter when exiting edit mode. If done correctly then Excel will put {} around the formula.
Once the three formulas are in the first row. Copy/Drag them down.

excel one to many look up

I would like to use a lookup formula to bring back multiple values. For example when it finds more than value in a look up I would like excel to add each value in the adjacent columns.
Can anyone help?
see attached
You can use this array formula:
=IFERROR(INDEX($B$2:$B$13,MATCH(1,($A$2:$A$13=$H$2)*(COUNTIF($H$2:H$2,$B$2:$B$13)=0),0)),"")
Being an array formula, put it in the first cell then hit Ctrl-Shift-Enter instead of enter when exiting edit mode. If done correctly then Excel will put {} around the formula.
Then copy/drag across enough columns till you get blanks.
You can also use this formula :
=IFERROR(INDEX($B$2:$B$13,SMALL(IF($H2=$A$2:$A$13,ROW($A$2:$A$13)-ROW($A$2)+1),COLUMN(A2))),"")
As this is also an array formula, press Ctrl+Shift+Enter while entering the formula.

Search for multiple values on two rows on multiple columns Excel

I have the next table (the table has this format),
Excel table
I wanto to search for all the 9's on the row 3 and obtain all the dates on columns A to T for each 9.
In my example the result should be,
29-06-2016
30-06-2016
01-07-2016
02-07-2016
04-07-2016
05-07-2016
06-07-2016
07-07-2016
08-07-2016
09-07-2016
I've tried the index/small formula but the result is only the first date.
Can anyone help me?
The array formula in the first cell:
=INDEX($A$1:$T$1,SMALL(IF($A$3:$T$3=$V$3,COLUMN($A$3:$T$3)),ROW(1:1)))
Being an Array formula it needs to be confirmed with Ctrl-Shift-Enter instead of Enter when exiting edit mode. If done correctly then excel will put {} around the formula.

Excel - How to find a specific name within a cell then return that name

The image should clarify what I'm trying to figure out. I need a formula to get the outputs in column D that lets me search for the values in column B within column A and return the values in column B.
Thanks!
You can use this array formula:
=INDEX($C$2:$C$5,MATCH(TRUE,ISNUMBER(SEARCH($C$2:$C$5,B2)),0))
Being an array formula it must be confirmed with Ctrl-Shift-Enter instead of Enter when leaving Edit mode. If done correctly Excel will put {} around the formula.

Resources