Help with a formula

Travisallen2007

New Member
Joined
Jan 21, 2018
Messages
30
Office Version
  1. 365
I am looking for some assistance with a formula.

I need it to say if there is text in g11 through g15 I need it to calculate 192*(each field with a text entry) in cell H22.


Example: (This would be 192*3 since three of the 5 cells have text so H22 would read 576)

[TABLE="width: 500"]
<tbody>[TR]
[TD]James[/TD]
[/TR]
[TR]
[TD]Nancy[/TD]
[/TR]
[TR]
[TD]Frank[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Try:

Code:
[TABLE="width: 332"]
<colgroup><col width="332"></colgroup><tbody>[TR]
   [TD="width: 332"]=SUMPRODUCT(--(ISTEXT($G$11:$G$15)))*192
[/TD]
 [/TR]
</tbody>[/TABLE]
 
Upvote 0
Hi,

A little simpler without Sumproduct:


Book1
GH
115
12James
13Nancy
14
15Frank
16
22576
Sheet191
Cell Formulas
RangeFormula
H22=COUNTIF(G11:G15,"*")*192
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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