Can you create a dual formula?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to create a cell with 2 different formulas? I need to subtract
one cell from another as well as to multiply a cell by a number. Example:
=SUM(D30-D29) and C28*1.5 and have the results combine in the one cell.
Please advise.
 
Do you mean combine as 2 different results with text in-between?

=D30-D29&" and "&C28*1.5

You might need the text function as well if you need formats like dates or
currency etc
 
What do you mean by "combine"?

You could display both results:

=D30-D29 & " " & C28*1.5

Note that the SUM() in your formula isn't necessary.

Note also that the result will be Text, rather than a number.
 
When you say "combine", do you mean show both results side by side? Or add
them together? Also, the use of the SUM function is redundant in your
example, since you're not adding the result of D30-D29 to anything.

Here's a couple options:

To add the results together:
=D30-D29+(C28*1.5)

To show both results side-by-side:
=D30-D29&" "&C28*1.5

HTH,
Elkar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top