What is the formula to autofill (autoincrement) the No. column when pemesanan column are already filled? I use a google spreadsheet
Using cell B8 as an example to drag down:
=IF(LEN(C8)>0,1+B7,"")
As you serial no. starts from B5 cell then you can use below formula.
=IF(C5<>"",ROW()-4,"")
Done by myself.
I'm using =ARRAYFORMULA(condition;true_condition;false_condition)
in my case I'm using this formula =ARRAYFORMULA(if(C5:C="";"";ROW(B5:B)-4))
Related
i'm looking for a formula that automatically call out the value in the table below, when the comparison is matched
Thanks for any help.
Try this standard formula in C8 and fill down.
I have this forumula on Sheet1 in Cell A1:
=SUMIF(Sheet2!$F:$F,L$11,Sheet2!$L:$L)
As I drag this down to A2,A3, etc... However I need the $L:$L to move across columns as I drag down to reference $M:$M in A2 and $N:$N in A3... etc.
Please Help! I've tried the indirect, index, and offset and have not been able to get anything to work successfully.
Thanks!
Give the following a try in A1 and drag it down.
=SUMIF(Sheet2!$F:$F,L$11,OFFSET(Sheet2!$L:$L,0,row()-1))
On the below image, how to do sumiif and subtotal?
Try below formula
=SUBTOTAL(109,B1:B6)
=SUMPRODUCT(SUBTOTAL(109,OFFSET(B1,ROW(B1:B6)-ROW(B1),,1)),--(A1:A6 <> ""))
You can solve your problem by adding a helper column. Place this formula in C1 and copy it down to C6: =SUBTOTAL(109,B1).
Then in B7, use this formula: =SUMIFS($C$1:$C$6,$A$1:$A$6,"<>")
One way is by using another cell.
I have this formula:
=IF(INDIRECT("summary!a2")="","",INDIRECT("summary!a2"))
.. this will retrieve the value of the a2 cell in the summary sheet.
What i want to know is what can i do on this formula to allow the value a2 to change to a3/a4/a5 etc.. when dragged down the sheet .
Can anyone give me a hint here?
Thanks
Try: =IF(INDIRECT("summary!a"&ROW(A2))="","",INDIRECT("summary!a"&ROW(A2))) - applicable for drag down)
If you use CELL function you can also drag down and across, e.g.
=INDIRECT("Sheet2!"&CELL("address",A1))
I have a need to do some conditional formatting based off other cells.
Basically I need it to do:
If cell contains yes, use the formatting of cell A1
If cell contains no, use the formatting of cell B2
I managed to do this by adding a reference cell
=IF(SearchMultipleTbl($B21,E$20,Overview!$C$2:$XY$82)="Yes",VLOOKUP(E$20,Overview!$C$3:$E$961,3,FALSE)="On Hold",FALSE)
The SearchMultipleTbl looks for the answer, if it is yes it uses the Vlookup of a reference cell
I don't know exactly what you are looking for but this should help.
=IF(A2="yes","true","false")
If A2 is yes then use the first condition, otherwise the second.
Hope this helps.