vba - Excel Macro - Search Range of Cell for 0, then return "empty" cell -
this first time using forum, , vba skill not developed. hope can help.
i have 2 columns of data, column a , column b.
column a - returns sequential "month-year" or 0. if spreadsheet current date (=now()) less feb, cell february returns 0.
column b - want column check each cell in column a. if column cell has date identifier, want placed in column b. if column has 0 identifier, want column b return "empty" cell.
reason why doing graphing bar chart. when trick program making empty cell (x-axis) graph not show data month (which want). trying make dynamic graph, have no experience in vba (only c programming =/).
you don't need vba (or formulas) this. highlight column (the entire column), copy it. highlight column b (the entire column, right click, paste special, select values , number formats, okay. highlight column b again. press ctrl+h, type 0 (or failing might 00/01/1900) in 'find what', leave 'replace with' 1 blank. tick match entire cell contents. click replace all. done.
Comments
Post a Comment