Excel Formula to Find Duplicate Value - excel-formula

I have an excel file with three columns (C,D,E) and one more (F) for finding all duplicate value. How can i use excel formula to get expected result (column F).
So the above columns should look like this:
Thank you in advance!

Try this formula in D2 cell and this is one way to get the output.
=IF(ISERROR(MATCH($A2,$B:$B,0)*MATCH($A2,$C:$C,0)),"",$A2)

Related

Excel FORMULA to sum values in multiple rows at the column with a specific word

maybe it is easy but I can't get it to work :(
I'm trying to make an Excel formula to do the following:
Find a specific column with the preset value
sum the values of rows/cells at this column that also contains a specific word.
For Example: the table below:
I want to find the column that has the value "Jul" and then go through this column's rows and sum all the rows that are "Pizza"
I hope someone could help me!
Thank u very much!
SUMPRODUCT() would be best for this case. Try-
=SUMPRODUCT((B2:H7)*(A2:A7=C11)*(B1:H1=D10))

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),"")

Excel formula vlookup

I need to fill in the column D using the information from column G (all in the first sheet) and the information from column A in the second sheet.
What needs to be returned to the column is the exact information found in the second sheet with the letter.
I have tried using vlookup with extract and other's but I always get N/A returned and im getting nervous.
Below are two screenshots of each sheet and at the bottom you will find an excel file uploaded with example data.
Excel file with example
You can do this with an array. Remember to enter the formula with Ctrl+shift+enter
=INDEX(ActiveCoupons!A2:A9,MATCH(G3,RIGHT(ActiveCoupons!A2:A9,LEN(ActiveCoupons!A2:A9)-1)*1,0))
In 'ActiveCoupons' put in G2 : =RIGHT(A2,LEN(A2)-1)*1
In 'ActiveCoupons' put in H2 : =A2
Expand the formulas to the rest of the columns G,H
In CouponRedemptionResults put in D2: =VLOOKUP(G2,ActiveCoupons!G:H,2,0)
Expand the formula to the rest of the columns D

Excel Conditional summation of rows

Hi all, I have a problem with a formula with SUMIFS and INDIRECT.
I want to sum up the lines in the D column that does not have the "AL" in the B column.
The number of lines between the sum of the row where the formula is and D6 will increase and vary.
I get the error #VALUE!
The formula is:
=SUMIFS(D6:INDIRECT("R[-1]C";0);B6:INDIRECT("R[-1]C";0);"<>AL")
examples of my excel worksheet layout
The line above having the formula =SUM(D6:INDIRECT("R[-1]C",0)) works great
I think that the formula should work but it doesn't.
Anyone who can figure out what is wrong with the formula?
Thanks!
/martin
In the SUMIFS function, the criteria_range needs to be in a single column. In the INDIRECT function you are using an absolute start column with a relative end column which results in multiple columns. Need to use an absolute end column. For example, change...
=SUMIFS(D6:INDIRECT("R[-1]C";0);B6:INDIRECT("R[-1]C";0);"<>AL")
to...
=SUMIFS(D6:INDIRECT("R[-1]C";0);B6:INDIRECT("R[-1]C2";0);"<>AL")

How to return strings which occur more than 4 times in an excel doc

Fairly new to excel, I have a document with rows and columns filled with names. Basically i want to be able to find if any names are there more than 4 times, and if so which names these are. What is the formula I would need to do this? I've tried iterations of countif and index but I just cant seem to get it right. Thanks in advance
So, if you have your input values in column A:A. Enter this formula into B1 and drag it down:
=IF(AND(COUNTIF($A$1:$A1,$A1)=1,COUNTIF($A:$A,$A1)>=4),$A1,"")
And then you get your final result without blank cells in C1 (and down) with this formula:
=IFERROR(INDEX($B$1:$B1000,AGGREGATE(15,6,(ROW($B$1:$B1000)-ROW($B$1)+1)/($B$1:$B1000<>""),ROWS(C$1:C1))),"")

Resources