Dynamic Charts with "Blank" Cells Containing Formulas

Aladen333

New Member
Joined
Jul 12, 2013
Messages
1
Hey everyone, this is my first post!

I've figured out how to create a dynamic chart, where the last values of my data are forced to be blank using an IF formula. The range that I created for which this works has the following formula:

=OFFSET(Sheet1!$C$46,1,0,(COUNTA(Sheet1!$C:$C)-1)-COUNTIF(Sheet1!$C$47:$C$58,""))

I am now in need of using a range where I only want the last 3 values of my data. However, the bottom part of my data is blanked out by the IF formula, so I actually want the last 3 number values. So if I used the regular:

=OFFSET(Sheet1!$B$1,COUNTA($B:$B)-3,0,3)

I would only end up getting 3 zeros. I tried the following, but that didn't work:

=OFFSET(Sheet!$B$46,1,0,(COUNTA(Sheet!$B:$B)-3,0,3)-(COUNTIF(Sheet!$B$47:$B$58,"")-3,0,3))

There must something I'm not understanding in the nomenclature following the COUNT functions. Please help!

<TBODY>
</TBODY>
 

Some videos you may like

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Watch MrExcel Video

Forum statistics

Threads
1,122,588
Messages
5,597,046
Members
414,116
Latest member
sfullnet

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
Top