## create basic excel function to check if value is there and if so multiple to get discount

Tried to make the title descriptive, but I am building a simple spreadsheet to total some items ordered but need to have a little more creativity with a discount field, and I cant do this via webpage which is my niche.

So, I have 4 columns, a-d with the following description;
A - item price (formatted as \$)
B - discount (formatted as %)
C - unique cost (this will be a simple numeric field formatted as currency)
D - Total (formatted as \$)

Now what I want is the following;

Enter an amount in A1, ex \$10.
(That should then make D1 = \$10, sometimes that will be it)
Other times I will have a discount and other cost;
A1 = \$10, then I enter 50 in B1 (which shows as 50%).
I would like D1 to show \$5

Lastly if I stuck something in C1 I would see;
A1 = \$10, B1=50%, C1=\$5, D1=\$10 (as 10/.50 = 5+5 = 10)

So, I thought I could just stick an @sum((a1 * b1) + c1) but naturally the problem, if nothing is in B1, it's 0, so the total is 0.
So I need to stick an isBlank inside, but NO clue where to start.

## Solutions to the Problem create basic excel function to check if value is there and if so multiple to get discount

Hi
Try this:
=IF(AND(A1<>"",B1>0),A1*B1+C1,"")

## To check for Windows updates

1. Open Windows Update by clicking the Start button Picture of the Start button, clicking All Programs, and then clicking Windows Update.
2. In the left pane, click Check for updates, and then wait while Windows looks for the latest updates for your computer.

## Recommended Method to Repair the Problem: create basic excel function to check if value is there and if so multiple to get discount:

### How to Fix create basic excel function to check if value is there and if so multiple to get discount with SmartPCFixer?

1. You can Download Error Fixer here. Install it on your computer. When you open it, it will perform a scan. 2. After the scan is done, you can see the errors and problems which need to be repaired. 3. When the Fixing part is finished, your computer has been speeded up and the errors have been fixed 