Cant seem to be able to join two formulas

alwaysasgood

New Member
Joined
Mar 3, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello to all good people, am happy to be here, using forum for a very long time (not registered). I have a problem that i cant figure out and would appreciate any assistance available.

in screenshot i have cells that might contain the word "single" or might contain a number. What i need is if the word single is present then display the value of cell. If a number is there instead of simple to multiply that same cell value. So far i experimented with the following:

=PRODUCT(IF((E7="single")*(E7="single"),F7,"")) --> shows the F7 value with "single" present
=PRODUCT(IF(E6:E6="single",E6:F6,"")) --> shows the F7 value with "single" present

experimented with & and concatenate but no joy so far. The out come is any of the above or the result of E7*F7

many many thanks
 

Attachments

  • Screenshot 2024-03-03 071103.png
    Screenshot 2024-03-03 071103.png
    5.9 KB · Views: 19

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi @alwaysasgood ,
As a long time follower of the forum you must know we prefer a data sample over a picture.
The explanations you give are very confusing for me. There is no need to use product.
Excel Formula:
 = (E7 = "Single")*F7
will return the value in F7. Assuming here it's always a number.
Can you upload, using xl2bb add-on, a sample of representative data and the scenarios with expected result. Obviously those do not need to be calculated but clearly explained.
 
Upvote 0
Hi @alwaysasgood ,
As a long time follower of the forum you must know we prefer a data sample over a picture.
The explanations you give are very confusing for me. There is no need to use product.
Excel Formula:
 = (E7 = "Single")*F7
will return the value in F7. Assuming here it's always a number.
Can you upload, using xl2bb add-on, a sample of representative data and the scenarios with expected result. Obviously those do not need to be calculated but clearly explained.
Hi thanks for the taking the time to help me out. Unfortunately your suggestion is not working

Calculus V6.xlsm
DEFGHIJKLMNO
6112102312255%€3.99€5.99€1.58€1.78€3.99210
71135011426715%€1.29€1.29€1.09€1.26€1.29350
NEW
Cell Formulas
RangeFormula
O6:O7O6=IFERROR(VALUE(E6),0)*IFERROR(VALUE(F6),0)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
N6:N1000Expression=N6>$J6textNO
O6:O1104Cell Value=0textNO
E6:E1104Cell Value>1textNO
B6:T1000Expression=ROW()=CELL("row")textNO
M97:M368,M370:M999,M6:M34,M36:M95Expression=ROW()=CELL("row")textNO
E370:E999,E5:E368,P6:P999Cell Valuecontains "pck"textNO
E370:E999,E5:E368,P6:P999Cell Valuecontains "kg"textNO
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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