How to create a 2nd formula in a cell which already as a formula

Paul365

New Member
Joined
Oct 29, 2021
Messages
21
Office Version
  1. 2016
Platform
  1. Windows
  2. Mobile
Hello,

I am having trouble figuring out how to create an extra formula in a cell which already has a formula.

I have tried conditional formatting and this does not seem to work.

All I am trying to do is make the formula:
If Cell C5 AND D5 are blank, then Cell F5, is blank

The current formula I have in cell F5 IS =CONCATENATE(TEXT(RW_Start1,"h:mm a/p\m")&" - "&TEXT(RW_Finish1,"h:mm a/p\m"))

The Cell C5 and C6 would only have start time and a finish time in it

Any help would greatly appreciated

Thanks

Paul

Please see screen shot below
1673355268945.png
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Is this what you are looking for?
Excel Formula:
=IF(AND(C5="",D5=""),"",CONCATENATE(TEXT(RW_Start1,"h:mm a/p\m")&" - "&TEXT(RW_Finish1,"h:mm a/p\m")))
 
Upvote 0
Solution
Is this what you are looking for?
Excel Formula:
=IF(AND(C5="",D5=""),"",CONCATENATE(TEXT(RW_Start1,"h:mm a/p\m")&" - "&TEXT(RW_Finish1,"h:mm a/p\m")))
Amazing, You are the greatest, I have been trying to figure this out for ages. Thanks so much
 
Upvote 0
You are welcome.

I hope it makes sense (it should be pretty straightforward).
Let me know if you have any questions.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top