Formula Help Needed

akvpv6

New Member
Joined
May 1, 2023
Messages
14
Office Version
  1. 365
Platform
  1. Windows
I am struggling to find the right formula that can carry over into the row of cells by month. In the image I uploaded I am looking for a formula that will divide the data in C5 by the data in C6 but also carry that formula to D5/D6 through N5/N6.

I would like to keep the formatting the same where if there is no data present then the cells from C4-N4 remain empty.

I appreciate any help you can provide!
 

Attachments

  • Excel1.PNG
    Excel1.PNG
    20 KB · Views: 7

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
something like htis:
Book2
CDEFGHIJKLMN
1
2AprMayJunJulAugSepOctNovDecJanFebMar
325%25%25%50%50%50%75%75%75%85%85%85%
427%33%36%30%32%28%37%35%28%47%47%41%
5202526252323313124374034
6747572847181838987798682
Sheet2
Cell Formulas
RangeFormula
C4:N4C4=C5/C6
 
Upvote 0
or this in just one cell

Excel Formula:
=C5:N5/C6:N6
 
Upvote 0
Another option
Excel Formula:
=IF((C5:N5="")+(C6:N6=""),"",C5:N5/C6:N6)
 
Upvote 0
Solution
something like htis:
Book2
CDEFGHIJKLMN
1
2AprMayJunJulAugSepOctNovDecJanFebMar
325%25%25%50%50%50%75%75%75%85%85%85%
427%33%36%30%32%28%37%35%28%47%47%41%
5202526252323313124374034
6747572847181838987798682
Sheet2
Cell Formulas
RangeFormula
C4:N4C4=C5/C6
I originally was using C5/C6 but I am trying to use a formula that will auto populate the percentage after I manually add in the data for rows 5 and 6.
Another option
Excel Formula:
=IF((C5:N5="")+(C6:N6=""),"",C5:N5/C6:N6)
This one seems to be working exactly how I needed it to, thank you for the quick help!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,257
Messages
6,123,916
Members
449,133
Latest member
rduffieldc

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