Home

Help with If function

%3CLINGO-SUB%20id%3D%22lingo-sub-620398%22%20slang%3D%22en-US%22%3EHelp%20with%20If%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-620398%22%20slang%3D%22en-US%22%3E%3CP%3EHI%2C%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20export%20relationships%20into%20a%20new%20database.%26nbsp%3B%20I%20have%20to%20add%20the%20account%20number%20for%20each%20relationship%20type%20and%20there%20are%20many%20relationship%20types.%26nbsp%3B%20There%20are%20more%20empty%20relationship%20types%20with%20no%20data%20than%20with%20actual%20data.%26nbsp%3B%20I%20want%20it%20to%20say%20if%20the%20data%20in%20the%20relationship%20type%20(Company%20Relationships)%20is%20not%20empty%20then%20the%20relation%20account%20number%20should%20be%20the%20same.%26nbsp%3B%20Can%20someone%20help%20me%20figure%20out%20why%20i%20have%20made%20this%20so%20difficult%3F%20I%20think%20I%20have%20it%20backwards%20but%20am%20not%20sure%20how%20to%20say%20if%20B2%20is%20not%20blank%20or%20not%20empty.%3C%2FP%3E%3CP%3EThanks%20so%20much%20for%20your%20help.%3C%2FP%3E%3CP%3EMary%20Ellen%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DIF(B2%26lt%3B%26gt%3B%22%22%2CC%3CSPAN%3E2%3C%2FSPAN%3E%3CSPAN%3E%3DA2)%3C%2FSPAN%3E%3C%2FP%3E%3CTABLE%3E%3CTBODY%3E%3CTR%3E%3CTD%3EIndiv%20Account%20Number%3C%2FTD%3E%3CTD%3ECompany%20Relationships%3C%2FTD%3E%3CTD%3ERelationship%20Account%20Number%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E336%3C%2FTD%3E%3CTD%3EMinuteman%20Press%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3EFALSE%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E76%3C%2FTD%3E%3CTD%3EKona%20Ice%20Midtown%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E494%3C%2FTD%3E%3CTD%3Eenewton%20design%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E2574%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%3E2773%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3CTD%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-620398%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%20formulas%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIF%20function%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-622250%22%20slang%3D%22en-US%22%3ERe%3A%20Help%20with%20If%20function%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-622250%22%20slang%3D%22en-US%22%3EYou%20can%20modify%20your%20IF%20formula%20this%20way%3A%3CBR%20%2F%3E%3DIF(B2%26lt%3B%26gt%3B%E2%80%9D%E2%80%9D%2CA2%2C%E2%80%9D%E2%80%9D)%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

HI,

I am trying to export relationships into a new database.  I have to add the account number for each relationship type and there are many relationship types.  There are more empty relationship types with no data than with actual data.  I want it to say if the data in the relationship type (Company Relationships) is not empty then the relation account number should be the same.  Can someone help me figure out why i have made this so difficult? I think I have it backwards but am not sure how to say if B2 is not blank or not empty.

Thanks so much for your help.

Mary Ellen

 

 

=IF(B2<>"",C2=A2)

Indiv Account NumberCompany RelationshipsRelationship Account Number 
336Minuteman Press FALSE
76Kona Ice Midtown  
494enewton design  
2574   
2773   
1 Reply
Highlighted
You can modify your IF formula this way:
=IF(B2<>””,A2,””)