Nov 09 2022 09:45 AM
Hey, there I have an excel file in which I want to sum the value of a row cell corresponding to a condition.
see the below image:
So in the above excel sheet, you can see that the row selected has a cell written: "gravity recovered cell".
My question is that from this row I want to sum all those cells which are corresponding to the cell containing the string "garvit recovered cell" and store the sum in the last amount column.
SO FROM THE ABOVE SELECTED ROWS G602 AND K602 WILL SUM UP ONLY AS THEIR LEFT-HAND SIDE CELLS HAVE "GARVIT RECOVERED" WRITTEN AND STORE 320 AS THE TOTAL IN CELL Q602
I am attaching the excel file so that you can get a good understanding.
link:
Thanks & regards
Rahul Dhanola
Nov 09 2022 01:24 PM
But column Q already contains another formula...
Nov 09 2022 08:46 PM
Thanks for responding. I have solved the problem and copied this formula in each week's cell and autofill the remaining cells just above total of each week.
=SUM(SUMIFS(C10:O10,B10:N10,{"*GARVIT RECOVERED CELL*"}))
but I have another query
I have an excel sheet in which there is a column that has all cells with either of the two formulas one is the sum, and the other is sumif(). My question is how to color those cells only which contain the sum() function as the outer function?
as you can see in the above excel sheet I have selected column R and in this, I want to color only the cells which are between the cells written "amount" and the green colored cell in which sumifs() are used and the rest white cells with sum as outer function.
so like in the above image I want to color the cells like above for each week and for each month?
please check it on the excel sheet I am sharing here:
Nov 10 2022 03:28 AM
Select R5:R701. R5 should be the active cell in the selection.
On the Home tab of the ribbon. select Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=ISNUMBER(FIND("SUMIF",FORMULATEXT(R5)))
Click Format...
Activate the Fill tab.
Select light green.
Click OK, then click OK again.
Nov 10 2022 03:32 AM
If you must ask the same question in different forums, you should always mention that explicitly, with a link to the other posts. Otherwise users might work on your problem in vain because it has already been solved elsewhere.
Nov 10 2022 05:47 AM
Nov 10 2022 06:04 AM - edited Nov 10 2022 07:34 AM
SolutionNov 10 2022 06:04 AM - edited Nov 10 2022 07:34 AM
Solution