problem- copying formula to other cells works fine bar 4 cells which return #VALUE!- help?

BSWJON

Board Regular
Joined
Mar 24, 2014
Messages
109
Office Version
  1. 365
Platform
  1. Windows
as the title suggests, I'm having a problem with copying a formula across multiple cells. Copying has worked fine on most of the cells however not for 4 cells which instead get #value! returned. It also says that data entered is of the wrong type.

I have checked and re-checked my data and formulas but have not come up with anything.

If anyone knwos what the problem could be, or how to fix it, I'd appreciate it.

The formula: =(SUMIFS(mahildsDATA!$AC$2:$AC$814,mahildsDATA!$M$2:$M$814,$AE39)/SUMIFS(mahildsDATA!$O$2:$O$814,mahildsDATA!$M$2:$M$814,$AE39))*100

This is how it looks (I would have put in a screenshot but can't figure out how to upload a pic...)

Average of moisture fail %Average of curve fail %Average of c16 failAverage of op fail % visual
length 24007.372.090.524.69
length 300010.703.970.253.58
length 3600#VALUE!#VALUE!#VALUE!#VALUE!
length 40002.613.980.002.23
length 42004.994.190.374.75
length 48004.793.730.513.30

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Anyone have any ideas? This is happening in pretty much every table that I am doing of this type, most cells work bar one category.
 
Upvote 0
Welcome to the MrExcel board!

Could it be that mahildsDATA!$AC$2:$AC$814 or mahildsDATA!$O$2:$O$814 already contain some #VALUE errors?

To post small screen shots, see my signature block below.
 
Upvote 0
The data (and there's a lot of it) doesn't have any #VALUE errors in it, some blanks but they haven't affected the cells that the formula does work in.

Here's an attempt at a screenshot of (some of) the dataset:

htwidthlengthsectionPiece Volumevol (m3)av mc%std devGrading Standardtotal waste %ms % (c16 fail)curve fail %moisture fail %visualop fail % visualdemension failure %c16 passcycle type / notesColumn2vol of moist failvol of curve fail2vol of ms fail3vol of op fail4
28125480028x125x480016800.2929.21.1c711.8 11.8 11.8 0.00.00.00.0
28125480028x125x48001680144.7629.21.1c711.8 11.8 11.8 0.017.00.00.0
28125480028x125x480016801.3421.73.9c77.5 2.5 7.55.0 0.00.00.00.1
47x150x4.80176.8121.12.6c168.50.62.60.2 4.4 92 0.34.51.17.8
47x175x4.80108.5721.12.6c165.70.32.60.0 1.9 95 0.02.80.32.1
47x225x4.8044.2621.02.8c1612.20.16.00.6 2.0 91 0.32.60.00.9
47x250x4.8083.9322.53.2c1627.00.14.35.2 3.4 87 4.43.60.12.8
41x94x4.8050.321.94.7clc1631.11.18.515.0 4.2 7.54.30.62.1
41x94x4.80106.9619.73.9c1618.71.15.36.5 5.3 82 7.05.71.15.7

<colgroup><col span="3"><col span="2"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col span="2"><col></colgroup><tbody>
</tbody>

As far as I can see the formulas are identical in each cell apart from the columns etc that need changing, so I can't see it being a problem with the formula, however there aren't any discrepancies that i can find within the data that are also affecting the cells associated with the formulas that do work.
 
Upvote 0
The data (and there's a lot of it) doesn't have any #VALUE errors in it,
Let's just try to confirm that. In some vacant cells, what do these formulas return?

=SUMPRODUCT(--ISERROR(mahildsDATA!$AC$2:$AC$814))

=SUMPRODUCT(--ISERROR(mahildsDATA!$O$2:$O$814))

Repeat for any other columns that are being summed by a SUMIFS


Your sample data isn't much help since we don't know what the rows/columns are. Is it sheet 'mahildsDATA'?
 
Upvote 0
yes thats correct about the sheet.

well, I it was your formulas that worked as I have now I identified a row of 4 cells returning #value, and they're attributed to one of the categories in the other table that returned #value as a result of my formulas. So what I'm saying is that the issue must be to do with my data, so thank you for helping me with that :)

I suppose now I need to find out what it is that is wrong specifically with the data.

The formula that is now returning #value is

Table1[[#This Row],[vol (m3)]]*(Table1[[#This Row],[moisture fail %]]/100)

I'm guessing that it is something to do with having text (or the cells formatted as text?) in the cells which have arithmetic functions asociated with them?
 
Upvote 0

Forum statistics

Threads
1,216,094
Messages
6,128,785
Members
449,468
Latest member
AGreen17

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