我检查了excel中的多张纸(例如B3 = D3,它会说真/假)。所以我在10张不同的纸张中有一个真/假,所有这些都在例如细胞B2。
我是否可以在摘要页面上创建一个公式,以突出显示任何检查是否为FALSE? (即如果我的10张纸中的任何一张说错了,这个公式也会说错了)
答案 0 :(得分:1)
就是这样:
+------------------+------------------------------------------------------+
| Windows Type | .NET equivalent |
+------------------+------------------------------------------------------+
| BOOL | <MarshalAs(UnmanagedType.Bool)> Boolean (vb.net) |
| BOOL | [MarshalAs(UnmanagedType.Bool)] bool (c#) |
| BYTE | Byte / Byte (vb.net) / byte (c#) |
| CHAR | Char / Char (vb.net) / char (c#) |
| DWORD | UInt32 / UInteger (vb.net) / uint (c#) |
| DWORDLONG | UInt64 / ULong (vb.net) / ulong (c#) |
| DWORD_PTR | UIntPtr |
| FLOAT | Single / Single (vb.net) / float (c#) |
| | |
| HANDLE | IntPtr |
| HBITMAP | IntPtr |
| HCURSOR | IntPtr |
| HDESK | IntPtr |
| HDC | IntPtr |
| HICON | IntPtr |
| HINSTANCE | IntPtr |
| HRESULT | Int32 / Integer (vb.net) / int (c#) |
| HWND | IntPtr |
| | |
| INT | Int32 / Integer (vb.net) / int (c#) |
| INT_PTR | IntPtr |
| INT8 | SByte |
| INT16 | Int16 / Short (vb.net) / short (c#) |
| INT32 | Int32 / Integer (vb.net) / int (c#) |
| INT64 | Int64 / Long (vb.net) / long (c#) |
| LONG | Int32 / Integer (vb.net) / int (c#) |
| LONGLONG | Int64 / Long (vb.net) / long (c#) |
| LONG_PTR | IntPtr |
| LPARAM | IntPtr |
| | |
| LPCSTR | String (Specify CharSet.Ansi in DllImport) |
| LPCTSTR | String |
| LPCWSTR | String (Specify CharSet.Unicode in DllImport) |
| LPDWORD | (= DWORD, declared as ByRef (vb.net) / ref (c#)) |
| LPHANDLE | (= HANDLE, declared as ByRef (vb.net) / ref (c#)) |
| LPINT | IntPtr |
| LPLONG | IntPtr |
| | |
| LPSTR | StringBuilder (Specify CharSet.Ansi in DllImport) |
| LPTSTR | StringBuilder |
| LPVOID | IntPtr |
| LPWORD | (= WORD, declared as ByRef (vb.net) / ref (c#)) |
| LPWSTR | StringBuilder (Specify CharSet.Unicode in DllImport) |
| | |
| QWORD | UInt64 / ULong (vb.net) / ulong (c#) |
| SHORT | Int16 / Short (vb.net) / short (c#) |
| SIZE_T | UIntPtr |
| UCHAR | Byte / Byte (vb.net) / byte (c#) |
| UINT | Int32 / Integer (vb.net) / int (c#) |
| UINT_PTR | IntPtr |
| UINT8 | Byte / Byte (vb.net) / byte (c#) |
| UINT16 | UInt16 / UShort (vb.net) / ushort (c#) |
| UINT32 | UInt32 / UInteger (vb.net) / int (c#) |
| UINT64 | UInt64 / ULong (vb.net) / long (c#) |
| ULONG | UInt32 / UInteger (vb.net) / int (c#) |
| ULONGLONG | UInt64 / ULong (vb.net) / long (c#) |
| ULONG_PTR | UIntPtr |
| USHORT | UInt16 / UShort (vb.net) / ushort (c#) |
| WORD | UInt16 / UShort (vb.net) / ushort (c#) |
+------------------+------------------------------------------------------+
只需将 Sheet1 更改为您的第一张检查表,然后将 Sheet10 更改为最后一张检查表,确保您之间只有检查表。
答案 1 :(得分:0)
您可以在摘要页面中应用相同的逻辑。例如,在摘要页面中输入此公式=Sheet2!B2=Sheet3!B2=Sheet4!B2=Sheet5!B2
(调整它以适合所有工作表)。如果任何B2值为False,您的汇总值也将为false ...