How to make an If statement result searchable?

Ed Harris

Board Regular
Joined
Dec 9, 2017
Messages
58
Office Version
  1. 2010
Platform
  1. Windows
Hi, I am trying to use an IF statement to put a 1 in every 2000th row of a column. This is a precursor to putting a graph there of the preceeding 2000 rows column G and H. I have never managed to make any macro type approach do anything with graphs but it is very useful to use control and up or down to quickly move between the ones in the column to review the graphs. I autofil the cell macro then copy the column and paste "values" and hope to be left with the "1"s. But my control + up or down keyboard shortcut strategy doesnt recognise them. I noticed it was putting the ones to the left of the column when result "if true" has hyphons implying a string so removed the hyphons and got the ones on the right of the cells. Still after pasting the values "control + up or down" does not recognise them.
Is there anything else I can do to fix this. It would be nice to put the graphs in automatically also but I will still need the "1"s.


Streaming Dec 24-12-24.xlsx
BCDEFGHI
1619961619940069.5641614:16.91619940071.0937769.56416
1619971619950069.5642114:17.01619950071.0937369.56421
1619981619960069.5641614:17.11619960071.0937869.56416
1619991619970069.5641914:17.21619970071.093869.56419
1620001619980069.5642114:17.31619980171.0938769.564211
1620011619990069.5642214:17.41619990071.0938469.56422 
1620021620000169.5641914:17.51620000071.0938669.56419 
1620031620010069.5641714:17.61620010071.0938869.56417 
1620041620020069.5642514:17.71620020071.0938669.56425 
1620051620030069.5642514:17.81620030171.0938669.56425 
1620061620040069.5643314:17.91620040071.0938669.56433 
1620071620050069.5643714:18.01620050171.0938769.56437 
1620081620060069.5643514:18.11620060171.0938969.56435 
1620091620070069.5643914:18.21620070071.0938969.56439 
1620101620080069.5643914:18.31620080071.0938969.56439 
Streaming Bx data 24-12-24
Cell Formulas
RangeFormula
I162000I162000=IF(MOD(ROW(A162000),2000),"",1)
I162001:I162010I162001=IF(MOD(ROW(A162001),2000),"","1")
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
then copy the column and paste "values" and hope to be left with the "1"s. But my control + up or down keyboard shortcut strategy doesnt recognise them.
So after you have pasted the values ..
  1. Select the entire column by clicking its heading label
  2. Press F5 and choose Special ... -> Mark 'Constants' -> Remove the tick from Numbers a little below that-> OK
  3. Press the Delete key
Now try navigating up/down the column to the 1s
 
Upvote 1
Solution

Forum statistics

Threads
1,226,049
Messages
6,188,566
Members
453,484
Latest member
jlo1673

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