Trouble with a formula

danager2020

New Member
Joined
May 13, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Hello,

I'm trying to get my sheet to multiply D2 and E2 but ONLY IF there is a "B" in F2. I want to duplicate to rows 3 through (however many). The images below show my sheet and formula. Using Google Sheets which, to my understanding, uses the same/similar formula "stuff" as excel. I'm trying to create/duplicate this formula so I don't have to remember to put in to each line where the F# cell value is "B".
 

Attachments

  • Formula.png
    Formula.png
    15.3 KB · Views: 20
  • Sheet Overview.png
    Sheet Overview.png
    19.3 KB · Views: 18

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi & welcome to MrExcel.
How about
Excel Formula:
=if(f2="B",d2*e2,"")
 
Upvote 0
That worked (after I fixed my own loop error)! Thanks!

I realized after copy/pasting your response that I was trying to multiply the cell containing the formula. I clearly wasn't off to a great start :)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,516
Messages
6,172,777
Members
452,477
Latest member
DigDug2024

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