Equation Problem

%3CLINGO-SUB%20id%3D%22lingo-sub-2338722%22%20slang%3D%22en-US%22%3EEquation%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2338722%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3E%3DIF(D2%26gt%3B%3DK1%2C2017%2CIF(D2%26gt%3B%3DL1%2C2018%2C%22%20%22))%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EI%20am%20using%20this%20equation.%20But%20in%20this%20equation%20I%20want%20use%20K1%20and%20L1%20as%20data.%20But%20excel%20is%20reading%20them%20as%20cell.%20What%20can%20I%20do%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2338722%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20for%20web%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2338739%22%20slang%3D%22en-US%22%3ERe%3A%20Equation%20Problem%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2338739%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1049023%22%20target%3D%22_blank%22%3E%40mahbcat%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20exactly%20do%20you%20mean%20by%20%22I%20want%20use%20K1%20and%20L1%20as%20data%22%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

=IF(D2>=K1,2017,IF(D2>=L1,2018," "))

I am using this equation. But in this equation I want use K1 and L1 as data. But excel is reading them as cell. What can I do?

2 Replies

@mahbcat 

What exactly do you mean by "I want use K1 and L1 as data"?

Does

=IF(D2>=$K$1,2017,IF(D2>=$L$1,2018,""))

do what you want?

Please share a sample of what you are trying to accomplish. Thank you.