Writing a Formula with if condition and multiplying few cells but one of the cell with condition

RapchikM

Board Regular
Joined
Oct 5, 2020
Messages
88
Office Version
  1. 2021
Platform
  1. Windows
Hello

How i can write a formula i a cell with if condition

Want multiplication in cell N12 = J12 * K12 * M12 * L12
but there is a condition with cell L12

Condition is as follows
By default i want value in cell L12 = 1 when cell L12 is Empty or Blank and to display cell as blank
Else if L12 is Non Empty L12 should take value as Whatever Entered in Cell L12

How should i write as forumla in cell
N12 = J12 * K12 * M12 * =if(L12="", 1, L12)


Any methods i can achieve this
RapchikM
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
You pretty much already have it:
Excel Formula:
= J12 * K12 * M12 * if(L12="", 1, L12)
 
Upvote 0
Solution
Thank you Sir,
Hope i had not incorporated = sign before IF

RapchikM
 
Upvote 0
You are welcome.

In a formula cell, you will only ever have the beginning equal sign signifying the start of the formula in the first characters.
If you "imbed" other formulas within that formula, you would drop off the leading "=".
 
Upvote 0
Thank you very much for clarifications.

Very much appreciated

RapchikM
 
Upvote 0

Forum statistics

Threads
1,214,826
Messages
6,121,792
Members
449,048
Latest member
greyangel23

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