Dynamic heading, trying to combine data from multiple cells

TheJay

Active Member
Joined
Nov 12, 2014
Messages
364
Office Version
  1. 2019
Platform
  1. Windows
I have a heading and have been trying to combine two different pieces of data.

The formula at the moment is:
VBA Code:
=IF(ISBLANK(C6),"",("Sample (50% Discount is "&TEXT(F4,"£0.000000")&(TEXT(F4*25%,"£0.000000")&")")))

This reads as:
Sample (50% Discount is £789.030000£197.257500)

I am trying to get it to say:
Sample (50% Discount is £789.030000) Sample 2 (25% off 50% Discount is £197.257500)

I've tried many combinations and just can't get it right, could someone please tell me what I should be adding?

Is there a way to use the values found within a cell containing text and data for calculations in others cells? If so, how is this done please?

Lastly, how can I format so that when the figure reaches over 1,000 it adds a comma in the thousands?

For example:
Sample (50% Discount is £2500.000000) Sample 2 (25% off 50% Discount is £625.000000)

Into:
Sample (50% Discount is £2,500.000000) Sample 2 (25% off 50% Discount is £625.000000)

Thanks for your help.
 
I'm afraid that I haven't either. I don't know what your existing formulas are doing/trying to do, I don't know what you mean by "somehow need to combine".
You referred to lower cells and higher cells but I have no idea what that mean or what any of your data is actually like. :(
 
Upvote 0

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes

Forum statistics

Threads
1,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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