ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Why does Excel not multiply a number generated by an IF formula? (https://www.excelbanter.com/excel-worksheet-functions/147365-why-does-excel-not-multiply-number-generated-if-formula.html)

Free Ishii

Why does Excel not multiply a number generated by an IF formula?
 
We are trying to do a simple <=PRODUCT function where we multiply two cells:
the first cell is a number generated by an <=IF function, and the second is
simply a cell with a single digit number. The result only shows the single
digit number, viz 4*3=3. Any ideas?

Teethless mama

Why does Excel not multiply a number generated by an IF formula?
 
=PRODUCT(A1,B1)
or
=PRODUCT(A1:B1)


"Free Ishii" wrote:

We are trying to do a simple <=PRODUCT function where we multiply two cells:
the first cell is a number generated by an <=IF function, and the second is
simply a cell with a single digit number. The result only shows the single
digit number, viz 4*3=3. Any ideas?


T. Valko

Why does Excel not multiply a number generated by an IF formula?
 
The result of your IF formula is probably TEXT.

What does your IF formula look like?

If you have numbers in quotes:

=IF(A1="x","10","no")

Then the result is TEXT.

=PRODUCT("10",3) = 3

PRODUCT will ignore the TEXT "10".

Remove the quotes from around the numbers in your IF formula.

Also, you don't really need the PRODUCT function.

=B1*B2

Will do the same thing.

Biff

"Free Ishii" <Free wrote in message
...
We are trying to do a simple <=PRODUCT function where we multiply two
cells:
the first cell is a number generated by an <=IF function, and the second
is
simply a cell with a single digit number. The result only shows the
single
digit number, viz 4*3=3. Any ideas?




Teethless mama

Why does Excel not multiply a number generated by an IF formula?
 
This formula converts text value to value

=PRODUCT(--A1,--B1)


"Free Ishii" wrote:

We are trying to do a simple <=PRODUCT function where we multiply two cells:
the first cell is a number generated by an <=IF function, and the second is
simply a cell with a single digit number. The result only shows the single
digit number, viz 4*3=3. Any ideas?


T. Valko

Why does Excel not multiply a number generated by an IF formula?
 
Better off fixing the problem at the source.

Biff

"Teethless mama" wrote in message
...
This formula converts text value to value

=PRODUCT(--A1,--B1)


"Free Ishii" wrote:

We are trying to do a simple <=PRODUCT function where we multiply two
cells:
the first cell is a number generated by an <=IF function, and the second
is
simply a cell with a single digit number. The result only shows the
single
digit number, viz 4*3=3. Any ideas?




bj

Why does Excel not multiply a number generated by an IF formula?
 
what does the if statement look like?

"Free Ishii" wrote:

We are trying to do a simple <=PRODUCT function where we multiply two cells:
the first cell is a number generated by an <=IF function, and the second is
simply a cell with a single digit number. The result only shows the single
digit number, viz 4*3=3. Any ideas?



All times are GMT +1. The time now is 05:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com