Feb 17 2021 11:57 AM
hey good day. i am looking to add 2 formulas into one cell
Feb 17 2021 12:20 PM
@Riny_van_Eekelen let me see how best i can explain this. so in the attachment, column H (days open) i need it to reflect on column D (open/close). so if column D says Closed then the days open should reflect F3-B3 but if column D says open then it should reflect C3-B3. if you look at the data sheet at H3 & H4 it have the two formula in there but to add those two together based on reflecting open or close is the issue
Feb 17 2021 01:47 PM
Feb 17 2021 02:06 PM
You are so very close to the solution. All I had to do was combine your two IF statements, condition and outcome, into a single IFS, as shown below:
=IFS(
[@[Open/Closed]]="closed", first condition
[@[DATE DELIVERED]]-[@[DATE REQ]], first formula
[@[Open/Closed]]="OPEN", second condition
C3-[@[DATE REQ]] second formula
)
Feb 18 2021 04:16 AM
@mathetes i downloaded the file but its getting an error. i get what you are saying but i'll try to sort it. thanks much
Feb 18 2021 04:41 AM
I put the formula in Column H...and it does work there. I thought that's where you wanted it; since it's where you had the two samples.
Feb 18 2021 05:21 AM
On Excel I have a table with 3 columns: A,B,C and 3 lines 1,2,3; When I put different numbers in all As and Bs and I put the formule = A1+B1 in C1, I get the right answer. But if I descend with the pointer on + to C2 and C3 I get the same answer. What to do?
Feb 18 2021 05:24 AM
Pancho 1940
On Excel I have a table with 3 columns: A,B,C and 3 lines 1,2,3; When I put different numbers in all As and Bs and I put the formule = A1+B1 in C1, I get the right answer. But if I descend with the pointer on + to C2 and C3 I get the same answer. What to do?
Feb 18 2021 05:56 AM
@Pancho_1940 you are not supposed to get the same answer if the number are different and the formula is correct. i will attach a file with the formula.
Feb 18 2021 05:58 AM
@Pancho_1940 once you put your mouse pointer at the bottom rigth of C1 and see the bold + sign then you drag down
Feb 18 2021 06:00 AM
@mathetes when i first downloaded the file i saw the formula but when i enable editing it change automatically to #NAME. which is the error but i am working on it. its the symbols that have me at bay