#N/A Error relating to the ROW #, not the data in the row... WTF?

Ticcer

New Member
Joined
Aug 2, 2011
Messages
37
Trying to do a mock sort. Coming up with #N/A Value not available to formula or function error. There are no leading or trailing spaces or weird characters. I've tried it in different workbooks and worksheets, always the same rows come up, "#N/A"... the 'Actual Row Number' that is... not the data.... if I 'delete' a row with the #N/A error in it, the row that shifts up to the deleted row position then assumes the error too; so if I delete row 8 in the example sheet below, row 9 moves up to become row 8 and gets the #N/A error... Huh!??

I'm using Excel 2010. Anyone got any ideas why that is?

Cheers

Excel Workbook
KLMN
1SKU ValuesSKU LookupSKU Sort
2FSB000400N-OC37.00EFT000000T-DISC1
3FSB003000T-S138.00EFT006362T-AOB
4FSB006000T-L149.00EFT007272T-COB
5FSB003000T-M135.00FSB000000N-PZ2
6FSB008000N-XL153.00FSB000000N-RAW
7FSB001600N-S217.00FSB000000T-CSTM1
8FSB003000N-M231.00#N/A
9FSB003000N-S232.00FSB000400T-OC3
10FSB003000N-XL233.00FSB000700N-OC3
11FSB008000N-XL254.00FSB000700T-OC3
12FSB008000T-XL156.00FSB001000N-S2
13FSB003000N-L230.00FSB001000T-S1
14FSB003000T-S239.00FSB001000T-S2
15FSB004000T-M141.00FSB001300T-S1
16FSB005000T-M145.00FSB001500N-OC3
17FSB003000T-M236.00FSB001600N-M2
18FSB001000N-S211.00#N/A
19FSB005000T-L144.00FSB001600T-KNCH21
20FSB000000T-CSTM16.00FSB001600T-S2
21FSB007000T-PZ152.00FSB001800T-KNCH21
Data
Excel 2010
Cell Formulas
RangeFormula
M2=COUNTIF($K$2:$K$200,"<"&K2)+COUNTIF(K$2:K2,K2)
M3=COUNTIF($K$2:$K$200,"<"&K3)+COUNTIF(K$2:K3,K3)
M4=COUNTIF($K$2:$K$200,"<"&K4)+COUNTIF(K$2:K4,K4)
M5=COUNTIF($K$2:$K$200,"<"&K5)+COUNTIF(K$2:K5,K5)
M6=COUNTIF($K$2:$K$200,"<"&K6)+COUNTIF(K$2:K6,K6)
M7=COUNTIF($K$2:$K$200,"<"&K7)+COUNTIF(K$2:K7,K7)
M8=COUNTIF($K$2:$K$200,"<"&K8)+COUNTIF(K$2:K8,K8)
M9=COUNTIF($K$2:$K$200,"<"&K9)+COUNTIF(K$2:K9,K9)
M10=COUNTIF($K$2:$K$200,"<"&K10)+COUNTIF(K$2:K10,K10)
M11=COUNTIF($K$2:$K$200,"<"&K11)+COUNTIF(K$2:K11,K11)
M12=COUNTIF($K$2:$K$200,"<"&K12)+COUNTIF(K$2:K12,K12)
M13=COUNTIF($K$2:$K$200,"<"&K13)+COUNTIF(K$2:K13,K13)
M14=COUNTIF($K$2:$K$200,"<"&K14)+COUNTIF(K$2:K14,K14)
M15=COUNTIF($K$2:$K$200,"<"&K15)+COUNTIF(K$2:K15,K15)
M16=COUNTIF($K$2:$K$200,"<"&K16)+COUNTIF(K$2:K16,K16)
M17=COUNTIF($K$2:$K$200,"<"&K17)+COUNTIF(K$2:K17,K17)
M18=COUNTIF($K$2:$K$200,"<"&K18)+COUNTIF(K$2:K18,K18)
M19=COUNTIF($K$2:$K$200,"<"&K19)+COUNTIF(K$2:K19,K19)
M20=COUNTIF($K$2:$K$200,"<"&K20)+COUNTIF(K$2:K20,K20)
M21=COUNTIF($K$2:$K$200,"<"&K21)+COUNTIF(K$2:K21,K21)
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}. Note: Do not try and enter these manually yourself
 
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Forum statistics

Threads
1,224,503
Messages
6,179,134
Members
452,890
Latest member
Nikhil Ramesh

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